Creates a new instance of a SectionOffsetLabelGroup on the Section in the specified SectionView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public static ObjectId CreateMajor( ObjectId sectionViewId, ObjectId sectionId, double increment, ObjectId labelStyleId )
Visual Basic
Public Shared Function CreateMajor ( _ sectionViewId As ObjectId, _ sectionId As ObjectId, _ increment As Double, _ labelStyleId As ObjectId _ ) As ObjectId
Visual C++
public: static ObjectId CreateMajor( ObjectId sectionViewId, ObjectId sectionId, double increment, ObjectId labelStyleId )
Parameters
- sectionViewId
- Type: ObjectId
The ObjectId of the SectionView in which the label group is located.
- sectionId
- Type: ObjectId
The ObjectId of the Section in which the label group is labeling.
- increment
- Type: System.Double
The increment value at which to insert major offset labels.
- labelStyleId
- Type: ObjectId
The ObjectId of the SectionOffsetLabelStyle to use.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|