System::Drawing::Size::Add method
Size::Add method
Returns a new Size object that is a sum of the specified Size object, 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 Size System::Drawing::Size::Add(const Size &size1, const Size &size2)
Parameter | Type | Description |
---|---|---|
size1 | const Size& | The first operand |
size2 | const Size& | The second operand |
ReturnValue
The Size object which is the sum of size1 and size2
See Also
- Class Size
- Class Size
- Namespace System::Drawing
- Library Aspose.PUB for C++