Size.Ceiling(SizeF) 方法

定义

通过将 Size 结构的值舍入到最近的较大整数值,将指定的 SizeF 结构转换为 Size 结构。Converts the specified SizeF structure to a Size structure by rounding the values of the Size structure to the next higher integer values.

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

参数

value
SizeF

要转换的 SizeF 结构。The SizeF structure to convert.

返回

Size

由此方法转换得到的 Size 结构。The Size structure this method converts to.

适用于