Bitmap Members
.NET Framework 2.0
Encapsulates a GDI+ bitmap, which consists of the pixel data for a graphics image and its attributes. A Bitmap is an object used to work with images defined by pixel data.
The following tables list the members exposed by the Bitmap type.
| Name | Description | |
|---|---|---|
| Flags | Gets attribute flags for the pixel data of 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 Image.(inherited from Image) |
| 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.(inherited from Image) |
| PhysicalDimension | Gets the width and height of this image.(inherited from Image) |
| PixelFormat | Gets the pixel format for this Image.(inherited from Image) |
| 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) |
| Tag | Gets or sets an object that provides additional data about the 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 Image.(inherited from Image) |
(see also
Protected Methods
)
Top
| Name | Description | |
|---|---|---|
| Clone | Overloaded. Creates a copy of the section of this Bitmap defined with a specified PixelFormat. |
| CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject) |
| Dispose | Releases all resources used by this Image. (inherited from Image) |
| Equals | Overloaded. Determines whether two Object instances are equal. (inherited from Object) |
| FromFile | Overloaded. Creates an Image from the specified file. (inherited from Image) |
| FromHbitmap | Overloaded. Creates a Bitmap from a Windows handle. (inherited from Image) |
| FromHicon | Creates a Bitmap from a Windows handle to an icon. |
| FromResource | Creates a Bitmap from the specified Windows resource. |
| FromStream | Overloaded. Creates an Image from the specified data stream. (inherited from Image) |
| GetBounds | Gets the bounds of the image in the specified unit. (inherited from Image) |
| GetEncoderParameterList | Returns information about the parameters supported by the specified image encoder. (inherited from Image) |
| GetFrameCount | Returns the number of frames of the specified dimension. (inherited from Image) |
| GetHashCode | Serves as a hash function for a particular type. (inherited from Object) |
| GetHbitmap | Overloaded. Creates a GDI bitmap object from a GDI+Bitmap. |
| GetHicon | Returns the handle to an icon. |
| GetHowFromImage | Returns an internal handle to an image. (inherited from Image) |
| GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| GetPixel | Gets the color of the specified pixel in this Bitmap. |
| GetPixelFormatSize | Returns the color depth, in number of bits per pixel, of the specified pixel format. (inherited from Image) |
| GetPropertyItem | Gets the specified property item from this Image. (inherited from Image) |
| GetThumbnailImage | Returns a thumbnail for this Image. (inherited from Image) |
| GetType | Gets the Type of the current instance. (inherited from Object) |
| InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject) |
| IsAlphaPixelFormat | Returns a value that indicates whether the pixel format for this Image contains alpha information. (inherited from Image) |
| IsCanonicalPixelFormat | Returns a value that indicates whether the pixel format is 32 bits per pixel. (inherited from Image) |
| IsExtendedPixelFormat | Returns a value that indicates whether the pixel format is 64 bits per pixel. (inherited from Image) |
| LockBits | Overloaded. Locks a Bitmap into system memory. |
| MakeTransparent | Overloaded. Makes the default transparent color transparent for this Bitmap. |
| ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) |
| RemovePropertyItem | Removes the specified property item from this Image. (inherited from Image) |
| RotateFlip | This method rotates, flips, or rotates and flips the Image. (inherited from Image) |
| Save | Overloaded. Saves this image to the specified stream in the specified format. (inherited from Image) |
| SaveAdd | Overloaded. Adds the information in the specified Image to this Image. The specified EncoderParameters determine how the new information is incorporated into the existing image. (inherited from Image) |
| SelectActiveFrame | Selects the frame specified by the dimension and index. (inherited from Image) |
| SetPixel | Sets the color of the specified pixel in this Bitmap. |
| SetPropertyItem | Stores a property item (piece of metadata) in this Image. (inherited from Image) |
| SetResolution | Sets the resolution for this Bitmap. |
| ToString | Returns a String that represents the current Object. (inherited from Object) |
| UnlockBits | Unlocks this Bitmap from system memory. |
| Name | Description | |
|---|---|---|
| Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object) |
| MemberwiseClone | Overloaded. (inherited from MarshalByRefObject) |
Community Additions
ADD
Show: