LabelStyleAddReferenceTextComponent Method |
Add ReferenceText component into the label style.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic ObjectId AddReferenceTextComponent(
string name,
ReferenceTextComponentSelectedType selectedType
)
Public Function AddReferenceTextComponent (
name As String,
selectedType As ReferenceTextComponentSelectedType
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The ReferenceText type is not supported in this label style;
- The name is null, or duplicate, or its length is not in the interval 1 - 128.
|
See Also