Overrides the text and justification on the specified text component.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
void SetTextComponentOverride(
ObjectId labelStyleComponentId,
string textOverride,
TextJustificationType textJustificationType
) |
Visual Basic |
---|
Sub SetTextComponentOverride ( _
labelStyleComponentId As ObjectId, _
textOverride As String, _
textJustificationType As TextJustificationType _
) |
Visual C++ |
---|
void SetTextComponentOverride(
ObjectId labelStyleComponentId,
String^ textOverride,
TextJustificationType textJustificationType
) |
Parameters
- labelStyleComponentId
- Type: ObjectId
The object id of the text component.
- textOverride
- Type: System..::..String
The override label text.
- textJustificationType
- Type: Autodesk.Civil..::..TextJustificationType
The type of text justification.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when labelStyleComponentId is not the objectId of the object that composes the text on the sub-entity label.
|
See Also