Makes the reference text component refer to other civil object.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public virtual void SetReferenceTextTarget(
ObjectId referenceTextComponentId,
ObjectId referenceObjectId
) |
Visual Basic |
---|
Public Overridable Sub SetReferenceTextTarget ( _
referenceTextComponentId As ObjectId, _
referenceObjectId As ObjectId _
) |
Visual C++ |
---|
public:
virtual void SetReferenceTextTarget(
ObjectId referenceTextComponentId,
ObjectId referenceObjectId
) |
Parameters
- referenceTextComponentId
- Type: ObjectId
The ObjectId of the reference text component.
- referenceObjectId
- Type: ObjectId
The ObjectId of a Civil Object which will be referenced by text component.
Implements
ICommonLabel..::..SetReferenceTextTarget(ObjectId, ObjectId)
Exceptions
Exception | Condition |
---|
System..::..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