Add a valid component into the label style.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public ObjectId AddComponent( string name, LabelStyleComponentType type ) |
Visual Basic |
---|
Public Function AddComponent ( _ name As String, _ type As LabelStyleComponentType _ ) As ObjectId |
Visual C++ |
---|
public: ObjectId AddComponent( String^ name, LabelStyleComponentType type ) |
Parameters
- name
- Type: System..::..String
The name of component.
- type
- Type: Autodesk.Civil.DatabaseServices.Styles..::..LabelStyleComponentType
The type of component.
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentException |
Thrown when:
|