Overrides the text on the specified text component.

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

Syntax

C#
public virtual void SetTextComponentOverride(
	ObjectId labelStyleComponentId,
	string textOverride
)
Visual Basic
Public Overridable Sub SetTextComponentOverride ( _
	labelStyleComponentId As ObjectId, _
	textOverride As String _
)
Visual C++
public:
virtual void SetTextComponentOverride(
	ObjectId labelStyleComponentId, 
	String^ textOverride
)

Parameters

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

Implements

ICommonLabel..::..SetTextComponentOverride(ObjectId, String)

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