Creates a new instance of a SectionOffsetLabelGroup on the Section in the specified SectionView with the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId CreateMajor(
ObjectId sectionViewId,
ObjectId sectionId,
double increment
) |
Visual Basic |
---|
Public Shared Function CreateMajor ( _
sectionViewId As ObjectId, _
sectionId As ObjectId, _
increment As Double _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId CreateMajor(
ObjectId sectionViewId,
ObjectId sectionId,
double increment
) |
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.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The sectionViewId or sectionId is invalid.
- The increment value is less than or equal to 0.
|
See Also