Overrides the justification on the specified text component in the CogoPoint label.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.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

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

See Also