Creates a new instance of ProfileProjectionLabel on the profileview 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 profileProjectionId, ObjectId labelStyleId )
VB
Public Shared Function Create ( profileViewId As ObjectId, profileProjectionId As ObjectId, labelStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId profileViewId, ObjectId profileProjectionId, ObjectId labelStyleId )
Parameters
- profileViewId ObjectId
- The ObjectId of profile view in which the label is located.
- profileProjectionId ObjectId
- The ObjectId of ProfileProjectionLabel's feature object.
- labelStyleId ObjectId
- The ObjectId of ProfileProjectionLabel style.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the profileViewId, profileProjectionId or labelStyleId is invalid. |