Adds a leader to the text note.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Leader AddLeader( TextNoteLeaderTypes leaderType )
Parameters
- leaderType TextNoteLeaderTypes
- Type of the leader being added.
Return Value
LeaderThe newly added leader.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
