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.4.2516.0

Syntax

C#
public static ObjectId Create(
	ObjectId majorOffsetLabelGroupId,
	double increment,
	ObjectId labelGroupStyleId
)
Visual Basic
Public Shared Function Create ( _
	majorOffsetLabelGroupId As ObjectId, _
	increment As Double, _
	labelGroupStyleId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId majorOffsetLabelGroupId, 
	double increment, 
	ObjectId labelGroupStyleId
)

Parameters

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

Exceptions

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

See Also