Skip to content

ColorOptions

Public Class

A class providing access to color settings which affect the colors applied to specific views.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.ColorOptions

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class ColorOptions : IDisposable

The ColorOptions type exposes the following members.

Properties

Name

Description


Public Property

The color of the current canvas theme used to highlight elements when a special alert is required.


Public Property

The background color of the current canvas theme applied to views.


Public Property

The color of the current canvas theme used to render elements when some aspect of their properties is currently being recalculated.


Public Property

The color of the current canvas theme used to render elements when editing.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The color of the current canvas theme used to highlight candidates for selection before they are selected.


Public Property

The color of the current canvas theme used to highlight selected elements.


Public Property

Indicates whether or not selections will be shown in a semi-transparent manner in current canvas theme.


Methods

Name

Description


Public Method

Releases all resources used by the ColorOptions


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
Static Member

Returns the current Revit instance’s ColorOptions.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

ColorOptions are managed and stored along with other global application options and thus impact the application as a whole.