Revit 2026 API
Gradient |
Represents the view gradient background settings.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
The GradientBackgroundSettings type exposes the following members.
| Name | Description | |
|---|---|---|
| GroundColor | The color of the ground. | |
| HorizonColor | The color of the horizon. | |
| IsValidObject |
Specifies whether the .NET object represents a valid Revit entity.
(Inherited from BackgroundSettings) | |
| SkyColor | The color of the top of the sky. |
| Name | Description | |
|---|---|---|
| Dispose | (Inherited from BackgroundSettings) | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
The colors of the background are interpolated for the pixels
corresponding to the sky - from the "sky color" (top) to the "horizon
color" (bottom). The ground is represented with a solid color ("ground color").
See Also