Creates a new instance of a SectionViewOffsetElevationLabel on the specified section view with the default label style and marker style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.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
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the sectionViewId is invalid. |