This documentation is for the old version. Go to the latest Graphics Mill docs

Bitmap Constructor

Creates empty Bitmap instance.

Overload List

Name Description
Public method Bitmap()

Creates empty Bitmap instance.

Public method Bitmap(Bitmap)

Creates new Bitmap instance instance and initializes it by copying bitmap data of specified System.Drawing.Bitmap object.

Public method Bitmap(Stream)

Creates new Bitmap instance instance and loads image from specified Stream.

Public method Bitmap(String)

Creates new Bitmap instance and loads image from specified file.

Public method Bitmap(Int32[,,], PixelFormat)

Creates new Bitmap instance from 3D array of pixels.

Public method Bitmap(Int32, Int32, PixelFormat)

Creates new Bitmap instance of given dimensions and pixel format.

Public method Bitmap(Int32[,,], PixelFormat, ColorPalette)

Creates new Bitmap instance from 3D array of pixels and palette.

Public method Bitmap(Int32, Int32, PixelFormat, ColorPalette)

Creates new Bitmap instance of given dimensions, pixel format and palette.

Public method Bitmap(Color, Int32, Int32, PixelFormat)

Creates new Bitmap instance of given dimensions and pixel format. Background color is specified.

Public method Bitmap(Color, Int32, Int32, PixelFormat, ColorPalette)

Creates new Bitmap instance of given dimensions and pixel format. Background color is specified.

See Also

Reference