Subtract

Size.Subtract method

Subtracts the width and height of one Size structure from the width and height of another Size structure.

public static Size Subtract(Size size1, Size size2)
ParameterTypeDescription
size1SizeThe Size structure on the left side of the subtraction operator.
size2SizeThe Size structure on the right side of the subtraction operator.

Return Value

The Size that is a result of the subtraction operation.

See Also