Export (0) Print
Expand All

SizeF.Subtract Method

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft