Document.NewSpotElevation
Description:
Generate a new spot elevation object within the project.
Generate a new spot elevation object within the project.
Remarks:
If the origin point is not on the reference, it'll be projected to the reference automatically. And the refPt is the projected point. If the reference is not valid or the point cannot be projected to reference correctly, an exception will be thrown
If the origin point is not on the reference, it'll be projected to the reference automatically. And the refPt is the projected point. If the reference is not valid or the point cannot be projected to reference correctly, an exception will be thrown
-
viewThe view in which the spot elevation is to be visible.
-
referenceThe reference to which the spot elevation is to be bound.
-
originThe point which the spot elevation evaluate.
-
bendThe bend point for the spot elevation.
-
endThe end point for the spot elevation.
-
refPtThe actual point on the reference which the spot elevation evaluate.
-
BooleanhasLeaderIndicate if it has leader or not.
Return Value
nullNothingnullptr
If successful a new spot dimension object, otherwise null Nothing nullptr a null reference ( Nothing in Visual Basic) .
-
Thrown if the view does not exist in the given document.