System::Drawing::Rectangle::Ceiling 方法

Rectangle::Ceiling method

从指定的 RectangleF 对象构造一个 Rectangle 对象,方法是将 RectangleF 对象的位置和大小值向上取整到下一个更高的整数值。

static Rectangle System::Drawing::Rectangle::Ceiling(const RectangleF &rect)
ParameterType描述
rectconst RectangleF&要转换的 RectangleF 对象

ReturnValue

rect 构造的 Rectangle 对象

另见