Share

AlignmentPILabel.Create(AlignmentSCS, ObjectId) Method

Creates a new instance of an AlignmentPILabel on an alignment SCS group entity with the specified label style in the default layer.



Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public static ObjectId Create(
	AlignmentSCS scs,
	ObjectId labelStyleId
)

VB

Public Shared Function Create ( 
	scs As AlignmentSCS,
	labelStyleId As ObjectId
) As ObjectId

C++

public:
static ObjectId Create(
	AlignmentSCS^ scs, 
	ObjectId labelStyleId
)

Parameters

scs  AlignmentSCS
The alignment scs group entity in which the label is located.
labelStyleId  ObjectId
The object id of label style for the label.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the labelStyleId is not a valid label style of type: LabelStyleType::AlignmentTangentIntersection.

See Also

Reference

Was this information helpful?