Revit 2025.3 API
View |
A collection of settings defining the type of the view background
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax

Member name | Value | Description |
---|---|---|
Gradient | 257 | Three-color simulated sky-horizon-ground combination. The sky is drawn in gradually changing color from the top (the "sky" color) to the bottom (the "horizon" color). The ground is either drawn in the single (the "ground") color, if the sky is visible, or in a gradient from the top (the "horizon") color to the bottom (the "ground") color. |
Image | 258 | User-specified image is drawn in the background either stretched vertically/horizontally/in both directions, or as is (pixel-to-pixel). |
None | 256 | No background defined - the color from Options is used to fill it. |
SunAndClouds | 512 | Best approximation to the colors of the sky and the visible sun disk. The position of the visible sun disk is calculated based on the "sun and shadow settings" (see 'ViewBackgroundLighting' object). |
See Also