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