Bewerken

Delen via


SizeF.Subtract(SizeF, SizeF) Method

Definition

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

public:
 static System::Drawing::SizeF Subtract(System::Drawing::SizeF sz1, System::Drawing::SizeF sz2);
public static System.Drawing.SizeF Subtract (System.Drawing.SizeF sz1, System.Drawing.SizeF sz2);
static member Subtract : System.Drawing.SizeF * System.Drawing.SizeF -> System.Drawing.SizeF
Public Shared Function Subtract (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 structure that is a result of the subtraction operation.

Applies to

See also