AnalysisDisplayColorSettings
Description:
Contains color settings for analysis display style element.
Contains color settings for analysis display style element.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Analysis.AnalysisDisplayColorSettings
System.Object
Autodesk.Revit.DB.Analysis.AnalysisDisplayColorSettings
public class AnalysisDisplayColorSettings : IDisposable
AnalysisDisplayColorSettings colorSettings = new AnalysisDisplayColorSettings();
Color orange = new Color(255, 205, 0);
Color purple = new Color(200, 0, 200);
colorSettings.MaxColor = orange;
colorSettings.MinColor = purple;
| Name | Return Type | Description |
|---|---|---|
| AnalysisDisplayColorSettings() | None | Constructs a default instance of color settings. |
| AnalysisDisplayColorSettings(AnalysisDisplayColorSettings) | None | Constructs a new copy of the input AnalysisDisplayColorSettings object. |
| Name | Return Type | Description |
|---|---|---|
| AreIntermediateColorsValid(IList<AnalysisDisplayColorEntry>) | bool | Verify intermediate color entries |
| Colors() | int | Get number of colors, including min, max and intermediate. |
| Dispose() | None | Releases all resources used by the |
| GetIntermediateColors() | IList<AnalysisDisplayColorEntry> | Get intermediate color entries (other than the minimum and maximum settings). |
| IsEqual(AnalysisDisplayColorSettings) | bool | Compares two color settings objects. |
| SetIntermediateColors(IList<AnalysisDisplayColorEntry>) | None | Set intermediate color entries (other than the minimum and maximum settings). |
| Name | Return Type | Description |
|---|---|---|
| ColorSettingsType | AnalysisDisplayStyleColorSettingsType | Stores type of color settings |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| MaxColor | Color | Color assigned to the maximum value. |
| MinColor | Color | Color assigned to the minimum value. |