Identifies the Presentation Mode that is applied to tag leaders.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2023
Syntax
| C# |
|---|
public LeadersPresentationMode LeadersPresentationMode { get; set; } |
| Visual Basic |
|---|
Public Property LeadersPresentationMode As LeadersPresentationMode Get Set |
| Visual C++ |
|---|
public: property LeadersPresentationMode LeadersPresentationMode { LeadersPresentationMode get (); void set (LeadersPresentationMode value); } |
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | When setting this property: The LeadersPresentationMode LeadersPresentationMode.ShowOnlyOne or LeadersPresentationMode.ShowSpecificLeaders can't be set to a tag with only one leader. |
| Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | The IndependentTag object does not have a tag behavior. -or- When setting this property: For this tag leaders are not allowed. |