Share

StationElevationLabel.Create 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.7.0.1276

Syntax

C#

public static ObjectId Create(
	ObjectId profileViewId,
	ObjectId labelStyleId,
	ObjectId markerStyleId,
	double station,
	double elevation
)

VB

Public Shared Function Create ( 
	profileViewId As ObjectId,
	labelStyleId As ObjectId,
	markerStyleId As ObjectId,
	station As Double,
	elevation As Double
) As ObjectId

C++

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

Reference

Was this information helpful?