RVTDocs.com
Namespace: Autodesk.Revit.DB Class: TextNote

TextNote.AddLeader

Method
Description:
Adds a leader to the text note.
Remarks:
If the geometric type of the new leader (line vs arc.) differs from the type of existing leaders, then the type of the existing leaders will be changed to match the type of the newly created leader.
Syntax
public Leader AddLeader(
	TextNoteLeaderTypes leaderType
)
Parameters
Parameter Type Description
leaderType TextNoteLeaderTypes Type of the leader being added.
Return Value
Type Description
Leader The newly added leader.
Exceptions
Exception Condition
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration