Truncate()

Size::Truncate(const SizeF&) 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)

Arguments

ParameterTypeDescription
sizeconst SizeF&The SizeF object to convert to construct Size object from

Return Value

A Size object constructed from size

See Also