Share

ICommonLabel.SetTextComponentJustificationOverride Method

Overrides the justification on the specified text component.



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

Syntax

C#

void SetTextComponentJustificationOverride(
	ObjectId labelStyleComponentId,
	TextJustificationType textJustificationType
)

VB

Sub SetTextComponentJustificationOverride ( 
	labelStyleComponentId As ObjectId,
	textJustificationType As TextJustificationType
)

C++

void SetTextComponentJustificationOverride(
	ObjectId labelStyleComponentId, 
	TextJustificationType textJustificationType
)

Parameters

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

Exceptions

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

See Also

Reference

Was this information helpful?