System::Drawing::SizeF::Add method

SizeF::Add 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)
ParameterTypeDescription
size1const SizeF&The first operand
size2const SizeF&The second operand

ReturnValue

The SizeF object which is the sum of size1 and size2

See Also