Creates a minor label set item with the an major station label set item and an minor station label style id, adds it to the collection.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public void Add(
BaseLabelSetItem majorStation,
ObjectId minorStationLabelStyleId
) |
Visual Basic |
---|
Public Sub Add ( _
majorStation As BaseLabelSetItem, _
minorStationLabelStyleId As ObjectId _
) |
Visual C++ |
---|
public:
void Add(
BaseLabelSetItem^ majorStation,
ObjectId minorStationLabelStyleId
) |
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The label style type of the label set item is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMajorStation, ProfileMajorStation, or SectionMajorOffset.
- The type of input label style is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMinorStation, ProfileMinorStation, or SectionMinorOffset.
|
See Also