ColorOptions
Description:
A class providing access to color settings which affect the colors applied to specific views.
A class providing access to color settings which affect the colors applied to specific views.
Remarks:
ColorOptions are managed and stored along with other global application options and thus impact the application as a whole.
ColorOptions are managed and stored along with other global application options and thus impact the application as a whole.
public class ColorOptions : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the ColorOptions | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetColorOptions() | ColorOptions | Returns the current Revit instance's ColorOptions. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AlertColor | Color | The color of the current canvas theme used to highlight elements when a special alert is required. | |
| BackgroundColor | Color | The background color of the current canvas theme applied to views. | |
| CalculatingColor | Color | The color of the current canvas theme used to render elements when some aspect of their properties is currently being recalculated. | |
| EditingColor | Color | The color of the current canvas theme used to render elements when editing. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. | |
| PreselectionColor | Color | The color of the current canvas theme used to highlight candidates for selection before they are selected. | |
| SelectionColor | Color | The color of the current canvas theme used to highlight selected elements. | |
| SelectionSemitransparent | bool | Indicates whether or not selections will be shown in a semi-transparent manner in current canvas theme. |