Create Method (ObjectId, Double)

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public static ObjectId Create(
	ObjectId majorOffsetLabelGroupId,
	double increment
)

Visual Basic

Public Shared Function Create ( _
	majorOffsetLabelGroupId As ObjectId, _
	increment As Double _
) As ObjectId

Visual C++

public:
static ObjectId Create(
	ObjectId majorOffsetLabelGroupId, 
	double increment
)

Parameters

majorOffsetLabelGroupId
Type: ObjectId
The ObjectId of the SectionOffsetLabelGroup.
increment
Type: System.Double
The increment value at which to insert minor offset labels.

Exceptions

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

See Also