DatumPlaneAddLeader Method |
Adds a default Leader for the indicated end of the datum plane. This method does not apply to Reference planes (which do not support leaders).
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntaxpublic Leader AddLeader(
DatumEnds datumEnd,
View view
)
Public Function AddLeader (
datumEnd As DatumEnds,
view As View
) As Leader
public:
Leader^ AddLeader(
DatumEnds datumEnd,
View^ view
)
member AddLeader :
datumEnd : DatumEnds *
view : View -> Leader
Parameters
- datumEnd DatumEnds
-
The end of the datum plane.
- view View
-
The view on which the DatumPlane shows.
Return Value
Leader
The Leader of the datum plane. Null will return if the view is null.
Exceptions
Remarks
The leader can be added only to ends where the bubble is set to be shown and does not have a leader applied.
See Also