Creates a new instance of a SectionViewOffsetElevationLabel on the specified section view with the default 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
)
Visual Basic
Public Shared Function Create ( _
	sectionViewId As ObjectId, _
	offset As Double, _
	elevation As Double _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	ObjectId sectionViewId, 
	double offset, 
	double elevation
)

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.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the sectionViewId is invalid.

See Also