BaseLabelSetStyleAdd(BaseLabelSetItem, String) Method |
Creates a minor label set item with the an major station label set item and an minior lable style name, adds it to the collection.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic void Add(
BaseLabelSetItem majorStation,
string minorStationLabelStyleName
)
Public Sub Add (
majorStation As BaseLabelSetItem,
minorStationLabelStyleName As String
)
public:
void Add(
BaseLabelSetItem^ majorStation,
String^ minorStationLabelStyleName
)
Parameters
- majorStation BaseLabelSetItem
- An label set itm withe a major station label style type.
- minorStationLabelStyleName String
- The name of the label style with a type of minor station.
ExceptionsException | Condition |
---|
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