Creates a new instance of a ProfileStationLabelGroup on the profile in the specified ProfileView with the specified label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.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++
public: [ObsoleteAttribute(L"Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.", false)] 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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the profileViewId, profileId or styleId is invalid. |