This documentation is archived and is not being maintained.
Bitmap Methods
.NET Framework 1.1
The methods of the Bitmap class are listed here. For a complete list of Bitmap class members, see the Bitmap Members topic.
Public Methods
Clone | Overloaded. Creates a copy of the section of this Bitmap defined with a specified PixelFormat. |
CreateObjRef (inherited from MarshalByRefObject) | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. |
Dispose (inherited from Image)
Supported by the .NET Compact Framework. | Overloaded. |
Equals (inherited from Object)
Supported by the .NET Compact Framework. | Overloaded. Determines whether two Object instances are equal. |
![]() FromHicon | Creates a Bitmap from a Windows handle to an icon. |
![]() FromResource | Creates a Bitmap object from the specified Windows resource. |
GetBounds (inherited from Image) | Gets a bounding rectangle in the specified units for this Image object. |
GetEncoderParameterList (inherited from Image) | Returns information about the parameters supported by the specified image encoder. |
GetFrameCount (inherited from Image) | Returns the number of frames of the specified dimension. |
GetHashCode (inherited from Object)
Supported by the .NET Compact Framework. | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
GetHbitmap | Overloaded. Creates a GDI bitmap object from a GDI+ Bitmap object. |
GetHicon | Returns the handle to an icon. |
GetLifetimeService (inherited from MarshalByRefObject) | Retrieves the current lifetime service object that controls the lifetime policy for this instance. |
GetPixel Supported by the .NET Compact Framework. | Gets the color of the specified pixel in this Bitmap. |
GetPropertyItem (inherited from Image) | Gets the specified property item from this Image object. |
GetThumbnailImage (inherited from Image) | Returns a thumbnail for this Image object. |
GetType (inherited from Object)
Supported by the .NET Compact Framework. | Gets the Type of the current instance. |
InitializeLifetimeService (inherited from MarshalByRefObject) | Obtains a lifetime service object to control the lifetime policy for this instance. |
LockBits | Locks a Bitmap object into system memory. |
MakeTransparent | Overloaded. Makes the default transparent color transparent for this Bitmap. |
RemovePropertyItem (inherited from Image) | Removes the specified property item from this Image object. |
RotateFlip (inherited from Image) | This method either rotates, flips, or rotates and flips the Image object. |
Save (inherited from Image) | Overloaded. Saves this image to the specified stream in the specified format. |
SaveAdd (inherited from Image) | Overloaded. Adds the information in the specified Image object to this Image object. The specified EncoderParameters object determines how the new information is incorporated into the existing image. |
SelectActiveFrame (inherited from Image) | Selects the frame specified by the dimension and index. |
SetPixel Supported by the .NET Compact Framework. | Sets the color of the specified pixel in this Bitmap object. |
SetPropertyItem (inherited from Image) | Stores a property item (piece of metadata) in this Image object. |
SetResolution | Sets the resolution for this Bitmap. |
ToString (inherited from Object)
Supported by the .NET Compact Framework. | Returns a String that represents the current Object. |
UnlockBits | Unlocks this Bitmap from system memory. |
Protected Methods
Finalize (inherited from Object)
Supported by the .NET Compact Framework. | Overridden. Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
In C# and C++, finalizers are expressed using destructor syntax. |
MemberwiseClone (inherited from Object)
Supported by the .NET Compact Framework. | Creates a shallow copy of the current Object. |
See Also
Show:
