DatumPlane.GetLeader
Method
Description:
Gets a copy of the leader applied to the indicated end of the datum plane. This method does not apply to Reference planes (which do not support leaders).
Gets a copy of the leader applied to the indicated end of the datum plane. This method does not apply to Reference planes (which do not support leaders).
Parameters
Parameter | Type | Description |
---|---|---|
datumEnd | DatumEnds | The end of the datum plane. |
view | View | The view on which the DatumPlane shows. |
Return Value
Type | Description |
---|---|
Leader | The Leader of the datum plane. Null will return if no leader applied. |
Exceptions
Exception | Condition |
---|---|
ArgumentException | The datum plane cannot be visible in the view. |
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
InvalidOperationException | This datum plane has no leaders. |