Overrides the justification on the specified text component.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 10.3.488.0

Syntax

C#
public virtual void SetTextComponentJustificationOverride(
	ObjectId labelStyleComponentId,
	TextJustificationType textJustificationType
)
Visual Basic
Public Overridable Sub SetTextComponentJustificationOverride ( _
	labelStyleComponentId As ObjectId, _
	textJustificationType As TextJustificationType _
)
Visual C++
public:
virtual void SetTextComponentJustificationOverride(
	ObjectId labelStyleComponentId, 
	TextJustificationType textJustificationType
)

Parameters

labelStyleComponentId
Type: ObjectId
The object id of the text component.
textJustificationType
Type: Autodesk.Civil..::..TextJustificationType
The type of text justification to set.

Implements

ICommonLabel..::..SetTextComponentJustificationOverride(ObjectId, TextJustificationType)

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when labelStyleComponentId is not the objectId of the object that composes the text on the sub-entity label.

See Also