StationElevationLabelCreate Method

Creates a new instance of StationElevationLabel on the profileview with the specified label style and marker style.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	ObjectId profileViewId,
	ObjectId labelStyleId,
	ObjectId markerStyleId,
	double station,
	double elevation
)

Parameters

profileViewId  ObjectId
The ObjectId of profile view in which the label is located.
labelStyleId  ObjectId
The ObjectId of StationElevationLabel style.
markerStyleId  ObjectId
The ObjectId of StationElevationLabel's marker style.
station  Double
The station value at which to insert StationElevationLabel.
elevation  Double
The elevation value at which to insert StationElevationLabel.

Return Value

ObjectId
Exceptions
ExceptionCondition
ArgumentException Thrown when the profileViewId, labelStyleId or markerStyleId is invalid.
See Also