Share

SectionMinorOffsetLabelGroup.Create(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.280

Syntax

C#

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

VB

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

C++

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

Reference

Was this information helpful?