Share

AlignmentCantLabelGroup.Create(ObjectId, ObjectId) Method

Creates a new instance of an AlignmentCantLabelGroup on an alignment entity 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 alignmentId,
	ObjectId styleId
)

VB

Public Shared Function Create ( 
	alignmentId As ObjectId,
	styleId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId alignmentId, 
	ObjectId styleId
)

Parameters

alignmentId  ObjectId
The alignment in which the label group is located.
styleId  ObjectId
The style of the new AlignmentCantLabelGroup.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The styleId or alignmentId is invalid.
  2. The styleId and alignmentId are in different database.

See Also

Reference

Was this information helpful?