System.Drawing.Dimension.SetSize C# (CSharp) Method

SetSize() public method

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
return 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