Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
Previous Versions
.NET Framework 2.0
System.Drawing
Bitmap Class
Bitmap Constructor

  Switch on low bandwidth view
This page is specific to
Microsoft Visual Studio 2005/.NET Framework 2.0

Other versions are also available for the following:
Bitmap Constructor
Initializes a new instance of the Bitmap class.
Name Description
Bitmap (Image) Initializes a new instance of the Bitmap class from the specified existing image.

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

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

Supported by the .NET Compact Framework.

Bitmap (Image, Size) Initializes a new instance of the Bitmap class from the specified existing image, scaled to the specified size.
Bitmap (Int32, Int32) Initializes a new instance of the Bitmap class with the specified size.

Supported by the .NET Compact Framework.

Bitmap (Stream, Boolean) Initializes a new instance of the Bitmap class from the specified data stream.
Bitmap (String, Boolean) Initializes a new instance of the Bitmap class from the specified file.
Bitmap (Type, String) Initializes a new instance of the Bitmap class from a specified resource.
Bitmap (Image, Int32, Int32) Initializes a new instance of the Bitmap class from the specified existing image, scaled to the specified size.
Bitmap (Int32, Int32, Graphics) Initializes a new instance of the Bitmap class with the specified size and with the resolution of the specified Graphics object.
Bitmap (Int32, Int32, PixelFormat) Initializes a new instance of the Bitmap class with the specified size and format.

Supported by the .NET Compact Framework.

Bitmap (Int32, Int32, Int32, PixelFormat, IntPtr) Initializes a new instance of the Bitmap class with the specified size, pixel format, and pixel data.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker