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.4.2516.0

Syntax

C#
public static ObjectId Create(
	ObjectId sectionViewId,
	double offset,
	double elevation,
	ObjectId labelStyleId,
	ObjectId markerStyleId
)
Visual Basic
Public Shared Function Create ( _
	sectionViewId As ObjectId, _
	offset As Double, _
	elevation As Double, _
	labelStyleId As ObjectId, _
	markerStyleId As ObjectId _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId sectionViewId, 
	double offset, 
	double elevation, 
	ObjectId labelStyleId, 
	ObjectId markerStyleId
)

Parameters

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

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the sectionViewId or labelStyleId or markerStyleId is invalid.

See Also