This documentation is archived and is not being maintained.
Bitmap Members
Visual Studio 2008
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 Bitmap type exposes the following members.
| 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 | Overloaded. Releases all resources used by this Image. |
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Image.) |
|
FromHicon | Creates a Bitmap from a Windows handle to an icon. |
|
FromResource | Creates a Bitmap from the specified Windows resource. |
|
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. |
|
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. |
|
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.) |
|
LockBits | Overloaded. Locks a Bitmap into system memory. |
|
MakeTransparent | Overloaded. Makes the default transparent color transparent for this Bitmap. |
|
MemberwiseClone | Overloaded. |
|
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. |
|
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. |
|
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 | |
|---|---|---|
|
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.) |
| Name | Description | |
|---|---|---|
|
ISerializable::GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from Image.) |
Show: