Size.Ceiling(SizeF) Size.Ceiling(SizeF) Size.Ceiling(SizeF) Size.Ceiling(SizeF) Method

定義

藉由將 SizeF 結構的值捨入為下一個較大的整數值,來將指定的 Size 結構轉換成 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 SizeF SizeF

要轉換的 SizeF 結構。The SizeF structure to convert.

傳回

這個方法轉換成的 SizeThe Size structure this method converts to.

適用於