Bitmap Constructor

Initializes a new instance of the Bitmap class.

Overload List

Name Description
Public method Bitmap()()

Initializes a new instance of the Bitmap class.

Public method Bitmap(Bitmap)

Initializes a new instance of the Bitmap class by copying bitmap data from the specified System.Drawing.Bitmap object.

Public method Bitmap(Stream)

Initializes a new instance of the Bitmap class from the specified data stream.

Public method Bitmap(String)

Initializes a new instance of the Bitmap class from the specified file.

Public method Bitmap(Bitmap)

Initializes a new instance of the Bitmap class from the specified existing bitmap.

Public method Bitmap(Int32, Int32, PixelFormat)

Initializes a new instance of the Bitmap class with the specified size and pixel format.

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

Initializes a new instance of the Bitmap class with the specified size, pixel format, and background color.

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

Initializes a new instance of the Bitmap class with the specified size, pixel format, and palette.

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

Initializes a new instance of the Bitmap class with the specified size, pixel format, background color, and palette.

See Also

Reference