Namespace:
Autodesk.Revit.DB.Analysis
AnalysisDisplayLegendSettings
Class
Description:
Contains legend settings for analysis display style element.
Contains legend settings for analysis display style element.
Examples
AnalysisDisplayLegendSettings legendSettings = new AnalysisDisplayLegendSettings();
legendSettings.NumberOfSteps = 10;
legendSettings.Rounding = 0.05;
legendSettings.ShowDataDescription = false;
legendSettings.ShowLegend = true;
AnalysisDisplayLegendSettings Class Members:
Name | Description | Inherited From |
---|---|---|
AnalysisDisplayLegendSettings() | Constructs a default instance of legend settings. | |
AnalysisDisplayLegendSettings(AnalysisDisplayLegendSettings) | Constructs a new copy of the input AnalysisDisplayLegendSettings object. |
Name | Description | Inherited From |
---|---|---|
ColorRangeHeight | Height of color range (for Colored Surface, Markers and Text, and Vector display). Measured in paperspace units. | |
ColorRangeWidth | Width of color range (for Colored Surface, Markers and Text, and Vector display). Measured in paperspace units. | |
HeadingTextTypeId | Element id of text associated with legend heading. | |
IsValidObject | Specifies whether the .NET object represents a valid Revit entity. | |
NumberForScale | A fixed value to display on the legend scale (0 by default; 0 means width of legend scale is calculated dynamically). | |
NumberOfSteps | Number of steps (values between minimum and maximum) to be shown in legend. | |
Rounding | Rounding increment for numeric values of analysis results. | |
ScaleHeight | Height of scale (for Diagram display). Measured in paperspace units. | |
ShowDataDescription | If true, data description is shown in the legend. | |
ShowDataName | If true, data name is shown in the legend. | |
ShowLegend | If true, legend is shown in the view. | |
ShowUnits | If true, units are shown in the legend. | |
TextTypeId | Element id of text associated with legend body. |
Name | Description | Inherited From |
---|---|---|
Dispose | Releases all resources used by the AnalysisDisplayLegendSettings | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
GetHashCode | Serves as the default hash function. (Inherited from Object ) | Object |
GetType | Gets the Type of the current instance. (Inherited from Object ) | Object |
IsEqual | Compares two legend settings objects. | |
ToString | Returns a string that represents the current object. (Inherited from Object ) | Object |