Add ReferenceText component into the label style.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public ObjectId AddReferenceTextComponent( string name, ReferenceTextComponentSelectedType selectedType )
Visual Basic
Public Function AddReferenceTextComponent ( _ name As String, _ selectedType As ReferenceTextComponentSelectedType _ ) As ObjectId
Visual C++
public: ObjectId AddReferenceTextComponent( String^ name, ReferenceTextComponentSelectedType selectedType )
Parameters
- name
- Type: System.String
The name of component.
- selectedType
- Type: Autodesk.Civil.DatabaseServices.Styles.ReferenceTextComponentSelectedType
The selected type of reference text component.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|