System.Drawing.Bitmap.Bitmap C# (CSharp) Method

Bitmap() public method

public Bitmap ( Image original, Size newSize ) : AppKit
original Image
newSize Size
return AppKit
        public Bitmap(Image original, Size newSize)
            : this(newSize.Width, newSize.Height, PixelFormat.Format32bppArgb)
        {
            using (Graphics graphics = Graphics.FromImage (this)) {
                graphics.DrawImage (original, 0, 0, newSize.Width, newSize.Height);
            }
        }

Same methods

Bitmap::Bitmap ( Image image ) : AppKit
Bitmap::Bitmap ( Image original, int width, int height ) : AppKit
Bitmap::Bitmap ( Stream stream, bool useIcm ) : AppKit
Bitmap::Bitmap ( int width, int height ) : AppKit
Bitmap::Bitmap ( int width, int height, PixelFormat format ) : AppKit
Bitmap::Bitmap ( string filename ) : AppKit