Export (0) Print
Expand All

Bitmap Methods

The Bitmap type exposes the following members.

  Name Description
Public method Clone() Creates an exact copy of this Image. (Inherited from Image.)
Public method Clone(Rectangle, PixelFormat) Creates a copy of the section of this Bitmap defined by Rectangle structure and with a specified PixelFormat enumeration.
Public method Clone(RectangleF, PixelFormat) Creates a copy of the section of this Bitmap defined with a specified PixelFormat enumeration.
Public method 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.)
Public method Dispose() Releases all resources used by this Image. (Inherited from Image.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Static member FromHicon Creates a Bitmap from a Windows handle to an icon.
Public method Static member FromResource Creates a Bitmap from the specified Windows resource.
Public method GetBounds Gets the bounds of the image in the specified unit. (Inherited from Image.)
Public method GetEncoderParameterList Returns information about the parameters supported by the specified image encoder. (Inherited from Image.)
Public method GetFrameCount Returns the number of frames of the specified dimension. (Inherited from Image.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetHbitmap() Creates a GDI bitmap object from this Bitmap.
Public method GetHbitmap(Color) Creates a GDI bitmap object from this Bitmap.
Public method GetHicon Returns the handle to an icon.
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetPixel Gets the color of the specified pixel in this Bitmap.
Public method GetPropertyItem Gets the specified property item from this Image. (Inherited from Image.)
Public method GetThumbnailImage Returns a thumbnail for this Image. (Inherited from Image.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method LockBits(Rectangle, ImageLockMode, PixelFormat) Locks a Bitmap into system memory.
Public method LockBits(Rectangle, ImageLockMode, PixelFormat, BitmapData) Locks a Bitmap into system memory
Public method MakeTransparent() Makes the default transparent color transparent for this Bitmap.
Public method MakeTransparent(Color) Makes the specified color transparent for this Bitmap.
Public method RemovePropertyItem Removes the specified property item from this Image. (Inherited from Image.)
Public method RotateFlip Rotates, flips, or rotates and flips the Image. (Inherited from Image.)
Public method Save(String) Saves this Image to the specified file or stream. (Inherited from Image.)
Public method Save(Stream, ImageFormat) Saves this image to the specified stream in the specified format. (Inherited from Image.)
Public method Save(String, ImageFormat) Saves this Image to the specified file in the specified format. (Inherited from Image.)
Public method Save(Stream, ImageCodecInfo, EncoderParameters) Saves this image to the specified stream, with the specified encoder and image encoder parameters. (Inherited from Image.)
Public method Save(String, ImageCodecInfo, EncoderParameters) Saves this Image to the specified file, with the specified encoder and image-encoder parameters. (Inherited from Image.)
Public method 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.)
Public method SaveAdd(Image, EncoderParameters) Adds a frame to the file or stream specified in a previous call to the Save method. (Inherited from Image.)
Public method SelectActiveFrame Selects the frame specified by the dimension and index. (Inherited from Image.)
Public method SetPixel Sets the color of the specified pixel in this Bitmap.
Public method SetPropertyItem Stores a property item (piece of metadata) in this Image. (Inherited from Image.)
Public method SetResolution Sets the resolution for this Bitmap.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method UnlockBits Unlocks this Bitmap from system memory.
Top

  Name Description
Explicit interface implemetation Private method ISerializable.GetObjectData Populates a SerializationInfo with the data needed to serialize the target object. (Inherited from Image.)
Top
Show:
© 2014 Microsoft