Creates a new instance of ProfileViewDepthLabel on the profile view with the specified label style.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId profileViewId, ObjectId labelStyleId, Point2d startPoint, Point2d endPoint )
VB
Public Shared Function Create ( profileViewId As ObjectId, labelStyleId As ObjectId, startPoint As Point2d, endPoint As Point2d ) As ObjectId
C++
public: static ObjectId Create( ObjectId profileViewId, ObjectId labelStyleId, Point2d startPoint, Point2d endPoint )
Parameters
- profileViewId ObjectId
- The ObjectId of profile view in which the label is located.
- labelStyleId ObjectId
- The ObjectId of ProfileViewDepthLabel style.
- startPoint Point2d
- The start point at which to insert ProfileViewDepthLabel.
- endPoint Point2d
- The end point at which to insert ProfileViewDepthLabel.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|