Bitmap Class |
Namespace: System.Drawing
public class Bitmap : Image
The Bitmap type exposes the following members.
Name | Description | |
---|---|---|
![]() | Bitmap(Stream) |
Initializes a new instance of the Bitmap class from the specified data stream.
|
![]() | Bitmap(String) |
Initializes a new instance of the Bitmap class from the specified file.
|
![]() | Bitmap(Image) |
Initializes a new instance of the Bitmap class from the specified existing image.
|
![]() | Bitmap(Int32, Int32) |
Initializes a new instance of the Bitmap class with the specified size.
|
![]() | 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(Image, Size) |
Initializes a new instance of the Bitmap class from the specified existing image, scaled to the specified size.
|
![]() | Bitmap(Int32, Int32, PixelFormat) |
Initializes a new instance of the Bitmap class with the specified size and format.
|
![]() | 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, Int32, PixelFormat, Int32) |
Initializes a new instance of the Bitmap class with the specified size and pixel data.
|
Name | Description | |
---|---|---|
![]() | Flags |
Gets the integer representing a bitwise combination of ImageFlags for this Image.
(Inherited from Image.) |
![]() | FrameDimensionsList |
Gets an array of GUIDs that represent the dimensions of frames within this Image.
(Inherited from Image.) |
![]() | Height |
Gets the height, in pixels, of this Bitmap.
(Overrides ImageHeight.) |
![]() | HorizontalResolution |
Gets the horizontal resolution, in pixels per inch, of this Image.
(Inherited from Image.) |
![]() | Palette |
Gets or sets the color palette used for this Image.
(Overrides ImagePalette.) |
![]() | PhysicalDimension |
Gets the width and height of this image.
(Inherited from Image.) |
![]() | PixelFormat |
Gets the pixel format for this Image.
(Overrides ImagePixelFormat.) |
![]() | PropertyIdList |
Gets IDs of the property items stored in this Image.
(Inherited from Image.) |
![]() | PropertyItems |
Gets all the property items (pieces of metadata) stored in this Image.
(Inherited from Image.) |
![]() | RawFormat |
Gets the file format of this Image.
(Inherited from Image.) |
![]() | Size |
Gets the width and height, in pixels, of this image.
(Inherited from Image.) |
![]() | VerticalResolution |
Gets the vertical resolution, in pixels per inch, of this Image.
(Inherited from Image.) |
![]() | Width |
Gets the width, in pixels, of this Bitmap.
(Overrides ImageWidth.) |
Name | Description | |
---|---|---|
![]() | Clone |
Creates an exact copy of this Image.
(Inherited from Image.) |
![]() | Clone(Rectangle, PixelFormat) |
Creates a copy of the section of this Bitmap defined by Rectangle structure
and with a specified PixelFormat enumeration.
|
![]() | Clone(RectangleF, PixelFormat) |
Creates a copy of the section of this Bitmap defined with a specified PixelFormat enumeration.
|
![]() | Dispose |
Releases all resources used by this Image.
(Inherited from Image.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetBounds |
Gets the bounds of the image in the specified unit.
(Inherited from Image.) |
![]() | GetFrameCount |
Returns the number of frames of the specified dimension.
(Inherited from Image.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetPixel |
Gets the color of the specified pixel in this Bitmap.
|
![]() | GetThumbnailImage |
Returns a thumbnail for this Image.
(Inherited from Image.) |
![]() | GetType | (Inherited from Object.) |
![]() | LockBits |
Locks a Bitmap into system memory.
|
![]() | MakeTransparent |
Makes the specified color transparent for this Bitmap.
|
![]() | MakeTransparent(Color) |
Makes the specified color transparent for this Bitmap.
|
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReadArgb32Pixels |
Reads bitmap pixels in ARGB32 format into given array.
|
![]() | RotateFlip |
This method rotates, flips, or rotates and flips the Image.
(Inherited from Image.) |
![]() | Save(String) |
Saves this Image to the specified file or stream.
(Inherited from Image.) |
![]() | Save(Stream, ImageFormat) |
Saves this image to the specified stream in the specified format.
(Inherited from Image.) |
![]() | Save(String, ImageFormat) |
Saves this Image to the specified file in the specified format.
(Inherited from Image.) |
![]() | Save(Stream, ImageCodecInfo, EncoderParameters) |
Saves this image to the specified stream, with the specified encoder and image encoder parameters.
(Inherited from Image.) |
![]() | Save(String, ImageCodecInfo, EncoderParameters) |
Saves this Image to the specified file, with the specified encoder and image-encoder parameters.
(Inherited from Image.) |
![]() | SaveAdd(EncoderParameters) |
Adds a frame to the file or stream specified in a previous call to the Save(String) method.
Use this method to save selected frames from a multiple-frame image to another multiple-frame image.
(Inherited from Image.) |
![]() | SaveAdd(Image, EncoderParameters) |
Adds a frame to the file or stream specified in a previous call to the Save(String) method.
(Inherited from Image.) |
![]() | SaveInternal(Stream, ImageFormat, EncoderParameters) |
Saves this Bitmap to the specified stream in the specified format.
(Overrides ImageSaveInternal(Stream, ImageFormat, EncoderParameters).) |
![]() | SaveInternal(String, ImageFormat, EncoderParameters) |
Saves this Bitmap to the specified file in the specified format.
(Overrides ImageSaveInternal(String, ImageFormat, EncoderParameters).) |
![]() | SelectActiveFrame |
Selects the frame specified by the dimension and index.
(Inherited from Image.) |
![]() | SetPixel |
Sets the color of the specified pixel in this Bitmap.
|
![]() | SetResolution |
Sets the resolution for this Bitmap.
|
![]() | SetResolutionInternal |
Sets the resolution for this Image.
(Inherited from Image.) |
![]() | ToString | (Inherited from Object.) |
![]() | UnlockBits |
Unlocks this Bitmap from system memory.
|
![]() | WriteArgb32Pixels |
Writes pixels to the bitmap.
|