Size.op_Subtraction

Size Subtraction operator

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

public static Size operator -(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

A Size structure that is the result of the subtraction operation.

See Also