System.Drawing.SizeF.Subtract C# (CSharp) Method

Subtract() public static method

public static Subtract ( System sz1, System sz2 ) : System.Drawing.SizeF
sz1 System
sz2 System
return System.Drawing.SizeF
        public static System.Drawing.SizeF Subtract(System.Drawing.SizeF sz1, System.Drawing.SizeF sz2) { throw null; }
        public System.Drawing.PointF ToPointF() { throw null; }

Same methods

SizeF::Subtract ( SizeF sz1, SizeF sz2 ) : SizeF

Usage Example

Example #1
0
 /// <summary>Subtracts the width and height of one <see cref="T:System.Drawing.SizeF" /> structure from the width and height of another <see cref="T:System.Drawing.SizeF" /> structure.</summary>
 /// <returns>A <see cref="T:System.Drawing.SizeF" /> that is the result of the subtraction operation.</returns>
 /// <param name="sz1">The <see cref="T:System.Drawing.SizeF" /> structure on the left side of the subtraction operator. </param>
 /// <param name="sz2">The <see cref="T:System.Drawing.SizeF" /> structure on the right side of the subtraction operator. </param>
 /// <filterpriority>3</filterpriority>
 public static SizeF operator -(SizeF sz1, SizeF sz2)
 {
     return(SizeF.Subtract(sz1, sz2));
 }