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
[C#]
public static Point Round(
 PointF value
);
[C++]
public: static Point Round(
 PointF value
);
[JScript]
public static function Round(
   value : PointF
) : Point;

Parameters

value
The PointF object to convert.

Return Value

The Point object this method converts to.

Requirements

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

Show: