Get the ObjectId of civil object which is referred by specified reference text component.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public virtual ObjectId GetReferenceTextTarget( ObjectId referenceTextComponentId )
VB
Public Overridable Function GetReferenceTextTarget ( referenceTextComponentId As ObjectId ) As ObjectId
C++
public: virtual ObjectId GetReferenceTextTarget( ObjectId referenceTextComponentId )
Parameters
- referenceTextComponentId ObjectId
- The ObjectId of the reference text component.
Return Value
ObjectIdImplements
ICommonLabelGetReferenceTextTarget(ObjectId)Exceptions
Exception | Condition |
---|---|
ArgumentException | Throw when the referenceTextComponentId is not the objectId of the text component used by current label. |