Revit 2025 API
Rendering |
Returns an object that represents the rendering background settings.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public BackgroundSettings GetBackgroundSettings()
Public Function GetBackgroundSettings As BackgroundSettings
public: BackgroundSettings^ GetBackgroundSettings()
member GetBackgroundSettings : unit -> BackgroundSettings
Return Value
BackgroundSettingsThe rendering background settings.

Different kind of settings object will be returned according to different background style.
It could be SkyBackgroundSettings, ColorBackgroundSettings, or ImageBackgroundSettings.
See Also