ProfileViewDepthLabelCreate Method |
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.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId profileViewId,
ObjectId labelStyleId,
Point2d startPoint,
Point2d endPoint
)
Public Shared Function Create (
profileViewId As ObjectId,
labelStyleId As ObjectId,
startPoint As Point2d,
endPoint As Point2d
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The profileViewId or labelStyleId is invalid.
- The startPoint and the endPoint are the same.
|
See Also