Creates a new instance of an IntersectionLocationLabel on the specified Intersection using the specified label style.

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

Syntax

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

Parameters

intersectionId
Type: ObjectId
The ObjectId of the Intersection to label.
labelStyleId
Type: ObjectId
The ObjectId of IntersectionLocationLabel style (object type LabelStyle).

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the intersectionId or labelStyleId is invalid.

See Also