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