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

Leader.End

Property
Description:
End point of the Leader.
Remarks:
The End point is the leader's end that points to the object being annotated.
Syntax
public XYZ End { get; set; }
Exceptions
Exception Condition
ArgumentException When setting this property: A valid point must not be father then 10 miles (approx. 16 km) from the origin. -or- When setting this property: The leader's End point may not be placed at the current position of the Anchor or Elbow point.
ArgumentNullException When setting this property: A non-optional argument was null
InvalidOperationException When setting this property: The leader is not currently owned by a valid element. A probable reason for that could be if the element has been independently deleted, or the leader has never been properly initialized.