Share

BaseLabelSetStyle.Add(BaseLabelSetItem, ObjectId) Method

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.Styles
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280

Syntax

C#

public void Add(
	BaseLabelSetItem majorStation,
	ObjectId minorStationLabelStyleId
)

VB

Public Sub Add ( 
	majorStation As BaseLabelSetItem,
	minorStationLabelStyleId As ObjectId
)

C++

public:
void Add(
	BaseLabelSetItem^ majorStation, 
	ObjectId minorStationLabelStyleId
)

Parameters

majorStation  BaseLabelSetItem
An label set itm withe a major station label style type.
minorStationLabelStyleId  ObjectId
The object id of label style.

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The label style type of the label set item is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMajorStation, ProfileMajorStation, or SectionMajorOffset.
  2. The type of input label style is not Autodesk.Civil.DatabaseServices.LabelType.AlignmentMinorStation, ProfileMinorStation, or SectionMinorOffset.

See Also

Reference

Was this information helpful?