Creates a new instance of a StructureProfileLabel on a ProfileViewPart using 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 profileViewPartId, ObjectId labelStyleId )
Visual Basic
Public Shared Function Create ( _ profileViewId As ObjectId, _ profileViewPartId As ObjectId, _ labelStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId Create( ObjectId profileViewId, ObjectId profileViewPartId, ObjectId labelStyleId )
Parameters
- profileViewId
- Type: ObjectId
The ObjectId of the ProfileView in which the label is located.
- profileViewPartId
- Type: ObjectId
The ObjectId of the ProfileViewPart in which the label is located.
- labelStyleId
- Type: ObjectId
The ObjectId of a StructureProfileLabel style to use.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|