Overrides the justification 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 SetLabelTextComponentJustificationOverride( ObjectId labelComponentId, TextJustificationType textJustificationType )
VB
Public Sub SetLabelTextComponentJustificationOverride ( labelComponentId As ObjectId, textJustificationType As TextJustificationType )
C++
public: void SetLabelTextComponentJustificationOverride( ObjectId labelComponentId, TextJustificationType textJustificationType )
Parameters
- labelComponentId ObjectId
- The ObjectId of the text component.
- textJustificationType TextJustificationType
- The type of text justification to set.
Exceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when labelComponentId is not the objectId of the object that composes the text on the sub-entity label. |