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