2024 Class
Changes 0
C

AnalysisDisplayColorSettings

Description:
Contains color settings for analysis display style element.
Inheritance Hierarchy:
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
C AnalysisDisplayColorSettings() None Constructs a default instance of color settings.
C AnalysisDisplayColorSettings(AnalysisDisplayColorSettings) None Constructs a new copy of the input AnalysisDisplayColorSettings object.
Name Return Type Description
M AreIntermediateColorsValid(IList<AnalysisDisplayColorEntry>) bool Verify intermediate color entries
M Colors() int Get number of colors, including min, max and intermediate.
M Dispose() None Releases all resources used by the
M GetIntermediateColors() IList<AnalysisDisplayColorEntry> Get intermediate color entries (other than the minimum and maximum settings).
M IsEqual(AnalysisDisplayColorSettings) bool Compares two color settings objects.
M SetIntermediateColors(IList<AnalysisDisplayColorEntry>) None Set intermediate color entries (other than the minimum and maximum settings).
Name Return Type Description
P ColorSettingsType AnalysisDisplayStyleColorSettingsType Stores type of color settings
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.
P MaxColor Color Color assigned to the maximum value.
P MinColor Color Color assigned to the minimum value.