This documentation is archived and is not being maintained.
Bitmap Methods
Visual Studio 2010
The Bitmap type exposes the following members.
| 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. |
|
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.) |
|
Dispose(Boolean) | Releases the unmanaged resources used by the Image and optionally releases the managed resources. (Inherited from Image.) |
|
Equals(Object) | 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() | Creates a GDI bitmap object from this Bitmap. |
|
GetHbitmap(Color) | Creates a GDI bitmap object from this 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(Rectangle, ImageLockMode, PixelFormat) | Locks a Bitmap into system memory. |
|
LockBits(Rectangle, ImageLockMode, PixelFormat, BitmapData) | Locks a Bitmap into system memory |
|
MakeTransparent() | Makes the default transparent color transparent for this Bitmap. |
|
MakeTransparent(Color) | Makes the specified color transparent for this Bitmap. |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
RemovePropertyItem | Removes the specified property item from this Image. (Inherited from Image.) |
|
RotateFlip | 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 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 method. (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 | |
|---|---|---|
|
ISerializable::GetObjectData | Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from Image.) |
Show: