View.SetBackground
Method
Description:
Sets the background for the view. Background can only be set for 3d views and for Sections/Elevations.
Sets the background for the view. Background can only be set for 3d views and for Sections/Elevations.
Parameters
Parameter | Type | Description |
---|---|---|
background | ViewDisplayBackground | Background to set. See 'ViewDisplayBackground' class and its 'create' methods. |
Return Value
Exceptions
Exception | Condition |
---|---|
ArgumentException | The background object is invalid, or view has 'Rendering' style. |
ArgumentNullException | A non-optional argument was null |
InvalidOperationException | This view does not contain display-related properties. |