Note: This API is now obsolete.
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: 13.8.0.280
Syntax
C#
[ObsoleteAttribute("Use Autodesk.Civil.DatabaseServices.ProfileStationLabelGroup.CreateMajor instead.", false)] public static ObjectId Create( ObjectId profileViewId, ObjectId profileId, ObjectId styleId, double increment )
VB
<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
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 ObjectId
- The ObjectId of profile view in which the label group is located.
- profileId ObjectId
- The ObjectId of profile in which the label group is located.
- styleId ObjectId
- The ObjectId of ProfileStationLabelGroup style.
- increment Double
- The increment value at which to insert major and minor station labels.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the profileViewId, profileId or styleId is invalid. |