Add()

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

Returns a new SizeF object that is a sum of the specified SizeF objects, i.e. whose width value is equal to the sum of width values of the specified objects and height value is equal to the sum of height values of the specified objects.

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

Arguments

ParameterTypeDescription
size1const SizeF&The first operand
size2const SizeF&The second operand

Return Value

The SizeF object which is the sum of size1 and size2

See Also