Overrides the justification on the specified text component in the CogoPoint label.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.3.1717.0
Syntax
C#
public void SetLabelTextComponentJustificationOverride( ObjectId labelComponentId, TextJustificationType textJustificationType )
Visual Basic
Public Sub SetLabelTextComponentJustificationOverride ( _ labelComponentId As ObjectId, _ textJustificationType As TextJustificationType _ )
Visual C++
public: void SetLabelTextComponentJustificationOverride( ObjectId labelComponentId, TextJustificationType textJustificationType )
Parameters
- labelComponentId
- Type: ObjectId
The ObjectId of the text component.
- textJustificationType
- Type: Autodesk.Civil.TextJustificationType
The type of text justification to set.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when labelComponentId is not the objectId of the object that composes the text on the sub-entity label. |