SectionViewOffsetElevationLabelCreate(ObjectId, Double, Double, ObjectId, ObjectId) Method |
Creates a new instance of a SectionViewOffsetElevationLabel on the specified section view with the specified label style and marker style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
ObjectId sectionViewId,
double offset,
double elevation,
ObjectId labelStyleId,
ObjectId markerStyleId
)
Public Shared Function Create (
sectionViewId As ObjectId,
offset As Double,
elevation As Double,
labelStyleId As ObjectId,
markerStyleId As ObjectId
) As ObjectId
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
ObjectId
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when the sectionViewId or labelStyleId or markerStyleId is invalid.
|
See Also