Rediger

Del via


Point.Round(PointF) Method

Definition

Converts the specified PointF to a Point object by rounding the PointF values to the nearest integer.

public:
 static System::Drawing::Point Round(System::Drawing::PointF value);
public static System.Drawing.Point Round (System.Drawing.PointF value);
static member Round : System.Drawing.PointF -> System.Drawing.Point
Public Shared Function Round (value As PointF) As Point

Parameters

value
PointF

The PointF to convert.

Returns

The Point this method converts to.

Applies to