2022 Class
Changes 0
C

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.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ViewDisplayBackground
public class ViewDisplayBackground : IDisposable
Name Return Type Description
M 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.
M 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.
M CreateSky() View.SetBackground Creates an object that can be passed to View.SetBackground method to set the background of the SunAndClouds type.
M Dispose() None Releases all resources used by the
Name Return Type Description
P BackgroundColor Color The color of the horizon when the type is 'Gradient'.
P GroundColor Color The color of the ground when the type is 'Gradient' or 'SunAndClouds'.
P HorizontalImageOffset double The distance between the left viewport boundary and the left edge of the background image.
P HorizontalImageScale double The horizontal scale of the background image; the scale of 1.0 puts the image pixel-to-pixel.
P ImageFlags ViewDisplayBackgroundImageFlags The image alignment indicators when the type is 'Image'.
P ImagePath string The path to the image file when the type is 'Image'.
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P SkyColor Color The color of the sky when the type is 'Gradient'.
P Type ViewDisplayBackgroundType The type of the background.
P VerticalImageOffset double The distance between the bottom viewport boundary and the bottom edge of the background image.
P VerticalImageScale double The vertical scale of the background image; the scale of 1.0 puts the image pixel-to-pixel.