System.Windows.Size.Size C# (CSharp) 메소드

Size() 공개 메소드

public Size ( double width, double height ) : System
width double
height double
리턴 System
        public Size(double width, double height)
        {
            if ((width < 0.0) || (height < 0.0))
            {
                throw new ArgumentException("Size_WidthAndHeightCannotBeNegative");
            }
            this._width = width;
            this._height = height;
        }