Subtract()

SizeF::Subtract(const SizeF&, const SizeF&) method

Returns a new SizeF object that is the results of subctraction of size2 from size1, i.e. whose width value is the result of subtraction of size2’s width value from size1’s width value and height value is the result of subtraction of size2’s height value from size1’s height value.

static SizeF System::Drawing::SizeF::Subtract(const SizeF &size1, const SizeF &size2)

Arguments

ParameterTypeDescription
size1const SizeF&The SizeF object to subtract from
size2const SizeF&The SizeF object to subtract

Return Value

The SizeF object which is the result of subtraction of size2 from size1

See Also