Round()

Point::Round(const PointF&) method

Constructs a Point object from the specified PointF object by rounding the PointF object’s X and Y coordinates values to the nearest integer values.

static Point System::Drawing::Point::Round(const PointF &point)

Arguments

ParameterTypeDescription
pointconst PointF&The PointF object to construct a Point object from

Return Value

A Point object constructed from point

See Also