System::Drawing::Size::Ceiling method

Size::Ceiling method

Constructs a Size object from the specified SizeF object by rounding the SizeF object’s width and height values to the next higher integer values.

static Size System::Drawing::Size::Ceiling(const SizeF &size)
ParameterTypeDescription
sizeconst SizeF&The SizeF object to convert

ReturnValue

A Size object constructed from size

See Also