Редагувати

Поділитися через


Rectangle.Ceiling(RectangleF) Method

Definition

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

public:
 static System::Drawing::Rectangle Ceiling(System::Drawing::RectangleF value);
public static System.Drawing.Rectangle Ceiling (System.Drawing.RectangleF value);
static member Ceiling : System.Drawing.RectangleF -> System.Drawing.Rectangle
Public Shared Function Ceiling (value As RectangleF) As Rectangle

Parameters

value
RectangleF

The RectangleF structure to be converted.

Returns

Returns a Rectangle.

Applies to