Rectangle.Ceiling

Rectangle.Ceiling method

Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values.

public static Rectangle Ceiling(RectangleF value)
ParameterTypeDescription
valueRectangleFThe RectangleF structure to be converted.

Return Value

Returns a Rectangle.

See Also