Analysis
|
Contains color settings for analysis display style element.
System
Object
Autodesk.Revit.DB.Analysis AnalysisDisplayColorSettings
Autodesk.Revit.DB.Analysis AnalysisDisplayColorSettings
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 27.0.4.0 (27.0.4.0)
The AnalysisDisplayColorSettings type exposes the following members.
| Name | Description | |
|---|---|---|
|
|
AnalysisDisplayColorSettings | Constructs a default instance of color settings. |
|
|
AnalysisDisplayColorSettings(AnalysisDisplayColorSettings) | Constructs a new copy of the input AnalysisDisplayColorSettings object. |
| Name | Description | |
|---|---|---|
|
|
ColorSettingsType | Stores type of color settings |
|
|
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. |
|
|
MaxColor | Color assigned to the maximum value. |
|
|
MinColor | Color assigned to the minimum value. |
| Name | Description | |
|---|---|---|
|
|
AreIntermediateColorsValid | Verify intermediate color entries |
|
|
Colors | Get number of colors, including min, max and intermediate. |
|
|
Dispose | Releases all resources used by the AnalysisDisplayColorSettings |
|
|
Equals |
Determines whether the specified object is equal to the current object.
(Inherited from Object ) |
|
|
GetHashCode |
Serves as the default hash function.
(Inherited from Object ) |
|
|
GetIntermediateColors | Get intermediate color entries (other than the minimum and maximum settings). |
|
|
GetType |
Gets the
Type
of the current instance.
(Inherited from Object ) |
|
|
IsEqual | Compares two color settings objects. |
|
|
SetIntermediateColors | Set intermediate color entries (other than the minimum and maximum settings). |
|
|
ToString |
Returns a string that represents the current object.
(Inherited from Object ) |
C#
AnalysisDisplayColorSettings colorSettings = new AnalysisDisplayColorSettings();
Color orange = new Color(255, 205, 0);
Color purple = new Color(200, 0, 200);
colorSettings.MaxColor = orange;
colorSettings.MinColor = purple;