SectionViewOffsetElevationLabelCreate(ObjectId, Double, Double, ObjectId, ObjectId) Method

Creates a new instance of a SectionViewOffsetElevationLabel on the specified section view 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 sectionViewId,
	double offset,
	double elevation,
	ObjectId labelStyleId,
	ObjectId markerStyleId
)

Parameters

sectionViewId  ObjectId
The ObjectId of the section view in which the label is located.
offset  Double
The offset value on the section view at which to insert the SectionViewOffsetElevationLabel.
elevation  Double
The elevation value at which insert SectionViewOffsetElevationLabel.
labelStyleId  ObjectId
The ObjectId of the SectionViewOffsetElevationLabel style to use (object type LabelStyle).
markerStyleId  ObjectId
The ObjectId of the marker display style (object type MarkerStyle).

Return Value

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