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