System.Drawing.Dimension.SetSize C# (CSharp) Метод

SetSize() публичный Метод

Set the size of this Dimension object to the specified width and height in double precision.
public SetSize ( double width, double height ) : void
width double the new width for the Dimension object
height double the new height for the Dimension object
Результат void
        public override void SetSize(double width, double height) {
            width = (int) Math.Ceiling(width);
            height = (int) Math.Ceiling(height);
        }

Same methods

Dimension::SetSize ( int width, int height ) : void