Ceiling Method
Collapse the table of content
Expand the table of content

Rectangle.Ceiling Method (RectangleF)


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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static Rectangle Ceiling(
	RectangleF value


Type: System.Drawing.RectangleF

The RectangleF structure to be converted.

Return Value

Type: System.Drawing.Rectangle

Returns a Rectangle.

.NET Framework
Available since 1.1
Return to top
© 2016 Microsoft