ProfileViewDepthLabelCreate Method

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.292
Syntax
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

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  1. The profileViewId or labelStyleId is invalid.
  2. The startPoint and the endPoint are the same.
See Also