Share

ICommonLabel.SetTextComponentOverride(ObjectId, String) Method

Overrides the text on the specified text component.



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

Syntax

C#

void SetTextComponentOverride(
	ObjectId labelStyleComponentId,
	string textOverride
)

VB

Sub SetTextComponentOverride ( 
	labelStyleComponentId As ObjectId,
	textOverride As String
)

C++

void SetTextComponentOverride(
	ObjectId labelStyleComponentId, 
	String^ textOverride
)

Parameters

labelStyleComponentId  ObjectId
The object id of the text component.
textOverride  String
The override label text.

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?