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.8.0.280
Syntax
C#
public static ObjectId Create( ObjectId sectionViewId, double offset, double elevation )
VB
Public Shared Function Create ( sectionViewId As ObjectId, offset As Double, elevation As Double ) As ObjectId
C++
public: static ObjectId Create( ObjectId sectionViewId, double offset, double elevation )
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.
Return Value
ObjectIdExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the sectionViewId is invalid. |