The ViewDisplayBackground type exposes the following members.

Methods

  NameDescription
Public methodStatic memberCreateGradient
Creates an object that can be passed to View.SetBackground method to set the background of the Gradient type.
Public methodStatic memberCreateImage
Creates an object that can be passed to View.SetBackground method to set the background of the Image type.
Public methodStatic memberCreateSky
Creates an object that can be passed to View.SetBackground method to set the background of the SunAndClouds type.
Public methodDispose
Releases all resources used by the ViewDisplayBackground
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyBackgroundColor
The color of the horizon when the type is 'Gradient'.
Public propertyGroundColor
The color of the ground when the type is 'Gradient' or 'SunAndClouds'.
Public propertyHorizontalImageOffset
The distance between the left viewport boundary and the left edge of the background image.
Public propertyHorizontalImageScale
The horizontal scale of the background image; the scale of 1.0 puts the image pixel-to-pixel.
Public propertyImageFlags
The image alignment indicators when the type is 'Image'.
Public propertyImagePath
The path to the image file when the type is 'Image'.
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertySkyColor
The color of the sky when the type is 'Gradient'.
Public propertyType
The type of the background.
Public propertyVerticalImageOffset
The distance between the bottom viewport boundary and the bottom edge of the background image.
Public propertyVerticalImageScale
The vertical scale of the background image; the scale of 1.0 puts the image pixel-to-pixel.

See Also