A class providing access to color settings which affect the colors applied to specific views.
Inheritance Hierarchy
System.ObjectAutodesk.Revit.DB.ColorOptions
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public class ColorOptions : IDisposable
The ColorOptions type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| AlertColor | The color of the current canvas theme used to highlight elements when a special alert is required. | |
| BackgroundColor | The background color of the current canvas theme applied to views. | |
| CalculatingColor | The color of the current canvas theme used to render elements when some aspect of their properties is currently being recalculated. | |
| EditingColor | The color of the current canvas theme used to render elements when editing. | |
| IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
| PreselectionColor | The color of the current canvas theme used to highlight candidates for selection before they are selected. | |
| SelectionColor | The color of the current canvas theme used to highlight selected elements. | |
| SelectionSemitransparent | Indicates whether or not selections will be shown in a semi-transparent manner in current canvas theme. |
Methods
| Name | Description | |
|---|---|---|
| Dispose | Releases all resources used by the ColorOptions | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetColorOptions | Returns the current Revit instance's ColorOptions. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
