SizeF.Subtraction(SizeF, SizeF) 運算子

定義

將另一個 SizeF 結構的寬度和高度減去某一個 SizeF 結構的寬度和高度。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

參數

sz1
SizeF

SizeF 結構,位於減法運算子的左側。The SizeF structure on the left side of the subtraction operator.

sz2
SizeF

SizeF 結構,位於減法運算子的右側。The SizeF structure on the right side of the subtraction operator.

傳回

SizeF,即是減法運算的結果。A SizeF that is the result of the subtraction operation.

適用於