Revit 2026 API
Analysis |
Set legend settings object for the style.
Namespace: Autodesk.Revit.DB.Analysis
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public void SetLegendSettings( AnalysisDisplayLegendSettings legendSettings )
Public Sub SetLegendSettings ( legendSettings As AnalysisDisplayLegendSettings )
public: void SetLegendSettings( AnalysisDisplayLegendSettings^ legendSettings )
member SetLegendSettings : legendSettings : AnalysisDisplayLegendSettings -> unit
Parameters
- legendSettings AnalysisDisplayLegendSettings

Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
See Also