System.Drawing.Size.Add C# (CSharp) Method

Add() public static method

public static Add ( System sz1, System sz2 ) : System.Drawing.Size
sz1 System
sz2 System
return System.Drawing.Size
        public static System.Drawing.Size Add(System.Drawing.Size sz1, System.Drawing.Size sz2) { throw null; }
        public static System.Drawing.Size Ceiling(System.Drawing.SizeF value) { throw null; }

Same methods

Size::Add ( Size sz1, Size sz2 ) : Size

Usage Example

		/// <summary>
		/// Center between two Sizes
		/// </summary>
		/// <param name="p1"></param>
		/// <param name="p2"></param>
		/// <returns>Center point</returns>
		public static Size Center(Size p1, Size p2) => (p2.Add(p1)).Scale(0.5f);
All Usage Examples Of System.Drawing.Size::Add