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: 13.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId intersectionId, ObjectId labelStyleId )
VB
Public Shared Function Create ( intersectionId As ObjectId, labelStyleId As ObjectId ) As ObjectId
C++
public: static ObjectId Create( ObjectId intersectionId, ObjectId labelStyleId )
Parameters
- intersectionId ObjectId
- The ObjectId of the Intersection to label.
- labelStyleId ObjectId
- The ObjectId of IntersectionLocationLabel style (object type LabelStyle).
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the intersectionId or labelStyleId is invalid. |