Share

ProfileMinorStationLabelGroup.Create Method

Creates a new instance of ProfileMinorStationLabelGroup on the profile in the specified 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 styleId,
	ObjectId majorStationLabelGroupId,
	double increment
)

VB

Public Shared Function Create ( 
	styleId As ObjectId,
	majorStationLabelGroupId As ObjectId,
	increment As Double
) As ObjectId

C++

public:
static ObjectId Create(
	ObjectId styleId, 
	ObjectId majorStationLabelGroupId, 
	double increment
)

Parameters

styleId  ObjectId
The style ID of the new ProfileMinorStationLabelGroup.
majorStationLabelGroupId  ObjectId
The object ID of major station label group.
increment  Double
The increment value at which to insert major and minor station labels.

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when:
  1. The styleId is invalid.
  2. The majorStationLabelGroupId is invalid.
  3. The increment value is less than 0.

See Also

Reference

Was this information helpful?