Overrides the text on the specified text component in the CogoPoint label.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public void SetLabelTextComponentOverride( ObjectId labelComponentId, string textOverride )
VB
Public Sub SetLabelTextComponentOverride ( labelComponentId As ObjectId, textOverride As String )
C++
public: void SetLabelTextComponentOverride( ObjectId labelComponentId, String^ textOverride )
Parameters
- labelComponentId ObjectId
- The ObjectId of the text component.
- textOverride String
- The overriden label text.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when labelComponentId is not the objectId of the object that composes the text on the sub-entity label. |