Creates a new instance of an AlignmentIndexedPILabel on an alignment tangent in entity with the specified label style in the default layer.

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

Syntax

C#
public static ObjectId Create(
	AlignmentLine tangentIn,
	ObjectId labelStyleId
)
Visual Basic
Public Shared Function Create ( _
	tangentIn As AlignmentLine, _
	labelStyleId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	AlignmentLine^ tangentIn, 
	ObjectId labelStyleId
)

Parameters

tangentIn
Type: Autodesk.Civil.DatabaseServices..::..AlignmentLine
labelStyleId
Type: ObjectId

Exceptions

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

See Also