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 | Inherited From |
|---|---|---|---|
| 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 | Inherited From |
|---|---|---|---|
| AreIntermediateColorsValid(IList<AnalysisDisplayColorEntry>) | Boolean | Verify intermediate color entries | |
| Colors() | Int32 | Get number of colors, including min, max and intermediate. | |
| Dispose() | None | Releases all resources used by the AnalysisDisplayColorSettings | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetIntermediateColors() | IList<AnalysisDisplayColorEntry> | Get intermediate color entries (other than the minimum and maximum settings). | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| IsEqual(AnalysisDisplayColorSettings) | Boolean | Compares two color settings objects. | |
| SetIntermediateColors(IList<AnalysisDisplayColorEntry>) | None | Set intermediate color entries (other than the minimum and maximum settings). | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| ColorSettingsType | AnalysisDisplayStyleColorSettingsType | Stores type of color settings | |
| IsValidObject | Boolean | 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. |