Point::Round Method (PointF)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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: