SectionMinorOffsetLabelGroupCreate(ObjectId, Double, ObjectId) Method

Creates a new instance of a SectionMinorOffsetLabelGroup on the specified SectionOffsetLabelGroup with the specified label style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	ObjectId majorOffsetLabelGroupId,
	double increment,
	ObjectId labelGroupStyleId
)

Parameters

majorOffsetLabelGroupId  ObjectId
The ObjectId of the SectionOffsetLabelGroup.
increment  Double
The increment value at which to insert minor offset labels.
labelGroupStyleId  ObjectId
The ObjectId of the minor offset label style to use (object type LabelStyle).

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when:
  • The majorOffsetLabelGroupId or labelStyleId is invalid.
  • The increment value is less than or equal to 0.
See Also