LabelStyleAddReferenceTextComponent Method

Add ReferenceText component into the label style.

Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public ObjectId AddReferenceTextComponent(
	string name,
	ReferenceTextComponentSelectedType selectedType
)

Parameters

name  String
The name of component.
selectedType  ReferenceTextComponentSelectedType
The selected type of reference text component.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  1. The ReferenceText type is not supported in this label style;
  2. The name is null, or duplicate, or its length is not in the interval 1 - 128.
See Also