ViewDisplayBackgroundImageFlags Enumeration


View Display Background Image Flags Enumeration

A collection of bit flags that control how the background image is positioned in relation to the crop region (or the view boundary).

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public enum ViewDisplayBackgroundImageFlags
Members
Member name Value Description
FitToScreen 1 The image is stretched in both directions
FixedAspectRatio 2 The image is stretched but the ratio of its height to width is preserved.
None 0 The image is displayed pixel-to-pixel
UseTiling 4 The pixels of the background are filled by tiling of the image.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →