Add a valid component into the label style.
Namespace: Autodesk.Civil.DatabaseServices.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public ObjectId AddComponent( string name, LabelStyleComponentType type )
VB
Public Function AddComponent ( name As String, type As LabelStyleComponentType ) As ObjectId
C++
public: ObjectId AddComponent( String^ name, LabelStyleComponentType type )
Parameters
- name String
- The name of component.
- type LabelStyleComponentType
- The type of component.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|