Creates a new instance of a TwoPoint SurfaceSlopeLabel.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public static ObjectId Create(
ObjectId surfaceId,
Point2d point1,
Point2d point2
) |
Visual Basic |
---|
Public Shared Function Create ( _
surfaceId As ObjectId, _
point1 As Point2d, _
point2 As Point2d _
) As ObjectId |
Visual C++ |
---|
public:
static ObjectId Create(
ObjectId surfaceId,
Point2d point1,
Point2d point2
) |
Parameters
- surfaceId
- Type: ObjectId
The object id of surface to which the label is attahed.
- point1
- Type: Point2d
The first point of label.
- point2
- Type: Point2d
The second point of label.
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when the surfaceId is invalid, or location is not on the surface.
|
See Also