Rediger

Del via


SizeF.Subtraction(SizeF, SizeF) Operator

Definition

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

public:
 static System::Drawing::SizeF operator -(System::Drawing::SizeF sz1, System::Drawing::SizeF sz2);
public static System.Drawing.SizeF operator - (System.Drawing.SizeF sz1, System.Drawing.SizeF sz2);
static member ( - ) : System.Drawing.SizeF * System.Drawing.SizeF -> System.Drawing.SizeF
Public Shared Operator - (sz1 As SizeF, sz2 As SizeF) As SizeF

Parameters

sz1
SizeF

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

sz2
SizeF

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

Returns

A SizeF that is the result of the subtraction operation.

Applies to