Creates a new instance of an IntersectionLocationLabel on the specified Intersection using the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the intersectionId or labelStyleId is invalid. |