ICommonLabelSetTextComponentOverride(ObjectId, String, TextJustificationType) Method |
Overrides the text and justification on the specified text component.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxvoid SetTextComponentOverride(
ObjectId labelStyleComponentId,
string textOverride,
TextJustificationType textJustificationType
)
Sub SetTextComponentOverride (
labelStyleComponentId As ObjectId,
textOverride As String,
textJustificationType As TextJustificationType
)
void SetTextComponentOverride(
ObjectId labelStyleComponentId,
String^ textOverride,
TextJustificationType textJustificationType
)
Parameters
- labelStyleComponentId ObjectId
- The object id of the text component.
- textOverride String
- The override label text.
- textJustificationType TextJustificationType
- The type of text justification.
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when labelStyleComponentId is not the objectId of the object that composes the text on the sub-entity label.
|
See Also