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