Creates a new instance of a SectionViewDepthLabel on the specified SectionView with the default label style.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId sectionViewId,
Point2d startPoint,
Point2d endPoint
) |
Visual Basic |
---|
Public Shared Function Create ( _
sectionViewId As ObjectId, _
startPoint As Point2d, _
endPoint As Point2d _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId sectionViewId,
Point2d startPoint,
Point2d endPoint
) |
Parameters
- sectionViewId
- Type: ObjectId
The ObjectId of section view in which the label is located (object type SectionView).
- startPoint
- Type: Point2d
The startPoint (station and elevation) at which to insert SectionViewDepthLabel.
This is a Point2d object, where startPoint.X is the station value, and startPoint.Y is the elevation.
- endPoint
- Type: Point2d
The endPoint (station and elevation) at which to insert SectionViewDepthLabel.
This is a Point2d object, where endPoint.X is the station value, and endPoint.Y is the elevation.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when sectionViewId or labelStyleId is invalid.
|
See Also