Subtracts the width and height of one
Size structure from the width and height of another
Size structure.
Namespace: Aspose.ImagingAssembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 21.02
Syntaxpublic static Size Subtract(
Size size1,
Size size2
)
Public Shared Function Subtract (
size1 As Size,
size2 As Size
) As Size
public:
static Size Subtract(
Size size1,
Size size2
)
static member Subtract :
size1 : Size *
size2 : Size -> Size
Parameters
- size1
- Type: Aspose.ImagingSize
The Size structure on the left side of the subtraction operator. - size2
- Type: Aspose.ImagingSize
The Size structure on the right side of the subtraction operator.
Return Value
Type:
SizeThe
Size that is a result of the subtraction operation.
See Also