Get the ObjectId of civil object which is referred by specified reference text component.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
ObjectId GetReferenceTextTarget( ObjectId referenceTextComponentId )
Visual Basic
Function GetReferenceTextTarget ( _ referenceTextComponentId As ObjectId _ ) As ObjectId
Visual C++
ObjectId GetReferenceTextTarget( ObjectId referenceTextComponentId )
Parameters
- referenceTextComponentId
- Type: ObjectId
The ObjectId of the reference text component.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Throw when the referenceTextComponentId is not the objectId of the text component used by current label. |