Point.Round Method (PointF)

 

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static Point Round(
	PointF value
)

Parameters

value
Type: System.Drawing.PointF

The PointF to convert.

Return Value

Type: System.Drawing.Point

The Point this method converts to.

.NET Framework
Available since 1.1
Return to top
Show: