Creates a new instance of a TwoPoint SurfaceSlopeLabel.
public static ObjectId Create( ObjectId surfaceId, Point2d point1, Point2d point2 )
Public Shared Function Create ( surfaceId As ObjectId, point1 As Point2d, point2 As Point2d ) As ObjectId
public: static ObjectId Create( ObjectId surfaceId, Point2d point1, Point2d point2 )
| Exception | Condition |
|---|---|
| ArgumentException | Thrown when the surfaceId is invalid, or location is not on the surface. |