StationElevationLabelCreate Method |
Creates a new instance of StationElevationLabel on the profileview with the specified label style and marker style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId profileViewId,
ObjectId labelStyleId,
ObjectId markerStyleId,
double station,
double elevation
)
Public Shared Function Create (
profileViewId As ObjectId,
labelStyleId As ObjectId,
markerStyleId As ObjectId,
station As Double,
elevation As Double
) As ObjectId
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
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the profileViewId, labelStyleId or markerStyleId is invalid.
|
See Also