LabelSetReferenceTextTarget Method |
Makes the reference text component refer to other civil object.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic virtual void SetReferenceTextTarget(
ObjectId referenceTextComponentId,
ObjectId referenceObjectId
)
Public Overridable Sub SetReferenceTextTarget (
referenceTextComponentId As ObjectId,
referenceObjectId As ObjectId
)
public:
virtual void SetReferenceTextTarget(
ObjectId referenceTextComponentId,
ObjectId referenceObjectId
)
Parameters
- referenceTextComponentId ObjectId
- The ObjectId of the reference text component.
- referenceObjectId ObjectId
- The ObjectId of a Civil Object which will be referenced by text component.
Implements
ICommonLabelSetReferenceTextTarget(ObjectId, ObjectId)
ExceptionsException | Condition |
---|
ArgumentException |
Throw when:
- The referenceTextComponentId is not the objectId of the text component used by current label.
- The reference object is not null and does not match with the text component.
|
See Also