This documentation is archived and is not being maintained.

Point.Round Method

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

[Visual Basic]
Public Shared Function Round( _
   ByVal value As PointF _
) As Point
public static Point Round(
 PointF value
public: static Point Round(
 PointF value
public static function Round(
   value : PointF
) : Point;


The PointF object to convert.

Return Value

The Point object this method converts to.


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Point Structure | Point Members | System.Drawing Namespace