AnalysisDisplayLegendSettings
Description:
Contains legend settings for analysis display style element.
Contains legend settings for analysis display style element.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Analysis.AnalysisDisplayLegendSettings
System.Object
Autodesk.Revit.DB.Analysis.AnalysisDisplayLegendSettings
public class AnalysisDisplayLegendSettings : IDisposable
AnalysisDisplayLegendSettings legendSettings = new AnalysisDisplayLegendSettings();
legendSettings.NumberOfSteps = 10;
legendSettings.Rounding = 0.05;
legendSettings.ShowDataDescription = false;
legendSettings.ShowLegend = true;
| Name | Return Type | Description |
|---|---|---|
| AnalysisDisplayLegendSettings() | None | Constructs a default instance of legend settings. |
| AnalysisDisplayLegendSettings(AnalysisDisplayLegendSettings) | None | Constructs a new copy of the input AnalysisDisplayLegendSettings object. |
| Name | Return Type | Description |
|---|---|---|
| Dispose() | None | Releases all resources used by the |
| IsEqual(AnalysisDisplayLegendSettings) | bool | Compares two legend settings objects. |
| Name | Return Type | Description |
|---|---|---|
| ColorRangeHeight | int | Height of color range (for Colored Surface, Markers and Text, and Vector display). Measured in paperspace units. |
| ColorRangeWidth | int | Width of color range (for Colored Surface, Markers and Text, and Vector display). Measured in paperspace units. |
| HeadingTextTypeId | ElementId | Element id of text associated with legend heading. |
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |
| NumberForScale | double | A fixed value to display on the legend scale (0 by default; 0 means width of legend scale is calculated dynamically). |
| NumberOfSteps | int | Number of steps (values between minimum and maximum) to be shown in legend. |
| Rounding | double | Rounding increment for numeric values of analysis results. |
| ScaleHeight | int | Height of scale (for Diagram display). Measured in paperspace units. |
| ShowDataDescription | bool | If true, data description is shown in the legend. |
| ShowDataName | bool | If true, data name is shown in the legend. |
| ShowLegend | bool | If true, legend is shown in the view. |
| ShowUnits | bool | If true, units are shown in the legend. |
| TextTypeId | ElementId | Element id of text associated with legend body. |