ViewDisplayBackground
Description:
Set of values that control how background is drawn in a view. Background can only be set for a 3d view or for a section or elevation view.
Set of values that control how background is drawn in a view. Background can only be set for a 3d view or for a section or elevation view.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.ViewDisplayBackground
System.Object
Autodesk.Revit.DB.ViewDisplayBackground
public class ViewDisplayBackground : IDisposable
| Name | Return Type | Description |
|---|---|---|
| CreateGradient(Color, Color, Color) | View.SetBackground | Creates an object that can be passed to View.SetBackground method to set the background of the Gradient type. |
| CreateImage(String, ViewDisplayBackgroundImageFlags, UV, UV) | View.SetBackground | Creates an object that can be passed to View.SetBackground method to set the background of the Image type. |
| CreateSky() | View.SetBackground | Creates an object that can be passed to View.SetBackground method to set the background of the SunAndClouds type. |
| Dispose() | None | Releases all resources used by the |
| Name | Return Type | Description |
|---|---|---|
| BackgroundColor | Color | The color of the horizon when the type is 'Gradient'. |
| GroundColor | Color | The color of the ground when the type is 'Gradient' or 'SunAndClouds'. |
| HorizontalImageOffset | double | The distance between the left viewport boundary and the left edge of the background image. |
| HorizontalImageScale | double | The horizontal scale of the background image; the scale of 1.0 puts the image pixel-to-pixel. |
| ImageFlags | ViewDisplayBackgroundImageFlags | The image alignment indicators when the type is 'Image'. |
| ImagePath | string | The path to the image file when the type is 'Image'. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| SkyColor | Color | The color of the sky when the type is 'Gradient'. |
| Type | ViewDisplayBackgroundType | The type of the background. |
| VerticalImageOffset | double | The distance between the bottom viewport boundary and the bottom edge of the background image. |
| VerticalImageScale | double | The vertical scale of the background image; the scale of 1.0 puts the image pixel-to-pixel. |