Creates a new instance of an AlignmentCantLabelGroup on an alignment entity with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId alignmentId,
ObjectId styleId
) |
Visual Basic |
---|
Public Shared Function Create ( _
alignmentId As ObjectId, _
styleId As ObjectId _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId alignmentId,
ObjectId styleId
) |
Parameters
- alignmentId
- Type: ObjectId
The alignment in which the label group is located.
- styleId
- Type: ObjectId
The style of the new AlignmentCantLabelGroup.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The styleId or alignmentId is invalid.
- The styleId and alignmentId are in different database.
|
See Also