SizeF.Subtract Method (SizeF, SizeF)

 

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

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

public static SizeF Subtract(
	SizeF sz1,
	SizeF sz2
)

Parameters

sz1
Type: System.Drawing.SizeF

The SizeF structure on the left side of the subtraction operator.

sz2
Type: System.Drawing.SizeF

The SizeF structure on the right side of the subtraction operator.

Return Value

Type: System.Drawing.SizeF

A SizeF structure that is a result of the subtraction operation.

.NET Framework
Available since 2.0
Return to top
Show: