Share

SectionMinorOffsetLabelGroup.Create(ObjectId, Double) Method

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

Syntax

C#

public static ObjectId Create(
	ObjectId majorOffsetLabelGroupId,
	double increment
)

VB

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

C++

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

Parameters

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

Return Value

ObjectId

Exceptions

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

See Also

Reference

Was this information helpful?