Share

Label.GetReferenceTextTarget Method

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

ObjectId

Implements

ICommonLabelGetReferenceTextTarget(ObjectId)

Exceptions

ExceptionCondition
ArgumentException Throw when the referenceTextComponentId is not the objectId of the text component used by current label.

See Also

Reference

Was this information helpful?