Creates a new instance of a ProfileStationLabelGroup on the profile in the specified ProfileView with the specified label style.

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

Syntax

C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.", 
	false)]
public static ObjectId Create(
	ObjectId profileViewId,
	ObjectId profileId,
	ObjectId styleId,
	double increment
)
Visual Basic
<ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.",  _
	False)> _
Public Shared Function Create ( _
	profileViewId As ObjectId, _
	profileId As ObjectId, _
	styleId As ObjectId, _
	increment As Double _
) As ObjectId
Visual C++
[ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.", 
	false)]
public:
static ObjectId Create(
	ObjectId profileViewId, 
	ObjectId profileId, 
	ObjectId styleId, 
	double increment
)

Parameters

profileViewId
Type: ObjectId
The ObjectId of profile view in which the label group is located.
profileId
Type: ObjectId
The ObjectId of profile in which the label group is located.
styleId
Type: ObjectId
The ObjectId of ProfileStationLabelGroup style.
increment
Type: System..::..Double
The increment value at which to insert major and minor station labels.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the profileViewId, profileId or styleId is invalid.

See Also