System::Drawing::Size::Subtract method
Contents
[
Hide
]Size::Subtract method
Returns a new Size 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 Size System::Drawing::Size::Subtract(const Size &size1, const Size &size2)
Parameter | Type | Description |
---|---|---|
size1 | const Size& | The Size object to subtract from |
size2 | const Size& | The Size object to subtract |
ReturnValue
The Size object which is the result of subtraction of size2 from size1
See Also
- Class Size
- Class Size
- Namespace System::Drawing
- Library Aspose.PDF for C++