Ceiling()

Rectangle::Ceiling(const RectangleF&) method

Constructs a Rectangle object from the specified RectangleF object by rounding the RectangleF object’s location and size values to the next higher integer values.

static Rectangle System::Drawing::Rectangle::Ceiling(const RectangleF &rect)

Arguments

ParameterTypeDescription
rectconst RectangleF&The RectangleF object to convert

Return Value

The Rectangle object constructed from rect

See Also