System::Drawing::Size::Truncate method

Size::Truncate method

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

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

ReturnValue

A Size object constructed from size

See Also