Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
Bitmap Class
 Bitmap Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
Bitmap Members

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.

  NameDescription
Public methodSupported by the .NET Compact FrameworkBitmapOverloaded. Initializes a new instance of the Bitmap class.
Top
  NameDescription
Public methodSupported by the .NET Compact FrameworkCloneOverloaded. Creates a copy of the section of this Bitmap defined with a specified PixelFormat.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkDisposeOverloaded. Releases all resources used by this Image.
Public methodSupported by the .NET Compact FrameworkEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Image.)
Public methodStatic memberFromHicon Creates a Bitmap from a Windows handle to an icon.
Public methodStatic memberFromResource Creates a Bitmap from the specified Windows resource.
Public methodGetBoundsGets the bounds of the image in the specified unit. (Inherited from Image.)
Public methodGetEncoderParameterListReturns information about the parameters supported by the specified image encoder. (Inherited from Image.)
Public methodGetFrameCountReturns the number of frames of the specified dimension. (Inherited from Image.)
Public methodSupported by the .NET Compact FrameworkGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkGetHbitmapOverloaded. Creates a GDI bitmap object from a GDI+ Bitmap.
Public methodGetHicon Returns the handle to an icon.
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkGetPixel Gets the color of the specified pixel in this Bitmap.
Public methodGetPropertyItemGets the specified property item from this Image. (Inherited from Image.)
Public methodGetThumbnailImageReturns a thumbnail for this Image. (Inherited from Image.)
Public methodSupported by the .NET Compact FrameworkGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodSupported by the .NET Compact FrameworkLockBitsOverloaded. Locks a Bitmap into system memory.
Public methodMakeTransparentOverloaded. Makes the default transparent color transparent for this Bitmap.
Protected methodSupported by the .NET Compact FrameworkMemberwiseCloneOverloaded.
Public methodRemovePropertyItemRemoves the specified property item from this Image. (Inherited from Image.)
Public methodRotateFlipThis method rotates, flips, or rotates and flips the Image. (Inherited from Image.)
Public methodSupported by the .NET Compact FrameworkSaveOverloaded. Saves this image to the specified stream in the specified format.
Public methodSaveAddOverloaded. Adds the information in the specified Image to this Image. The specified EncoderParameters determine how the new information is incorporated into the existing image.
Public methodSelectActiveFrameSelects the frame specified by the dimension and index. (Inherited from Image.)
Public methodSupported by the .NET Compact FrameworkSetPixel Sets the color of the specified pixel in this Bitmap.
Public methodSetPropertyItemStores a property item (piece of metadata) in this Image. (Inherited from Image.)
Public methodSetResolution Sets the resolution for this Bitmap.
Public methodSupported by the .NET Compact FrameworkToString Returns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkUnlockBits Unlocks this Bitmap from system memory.
Top
  NameDescription
Public propertyFlagsGets attribute flags for the pixel data of this Image. (Inherited from Image.)
Public propertyFrameDimensionsListGets an array of GUIDs that represent the dimensions of frames within this Image. (Inherited from Image.)
Public propertySupported by the .NET Compact FrameworkHeightGets the height, in pixels, of this Image. (Inherited from Image.)
Public propertyHorizontalResolutionGets the horizontal resolution, in pixels per inch, of this Image. (Inherited from Image.)
Public propertyPaletteGets or sets the color palette used for this Image. (Inherited from Image.)
Public propertyPhysicalDimensionGets the width and height of this image. (Inherited from Image.)
Public propertyPixelFormatGets the pixel format for this Image. (Inherited from Image.)
Public propertyPropertyIdListGets IDs of the property items stored in this Image. (Inherited from Image.)
Public propertyPropertyItemsGets all the property items (pieces of metadata) stored in this Image. (Inherited from Image.)
Public propertyRawFormatGets the file format of this Image. (Inherited from Image.)
Public propertySupported by the .NET Compact FrameworkSizeGets the width and height, in pixels, of this image. (Inherited from Image.)
Public propertyTagGets or sets an object that provides additional data about the image. (Inherited from Image.)
Public propertyVerticalResolutionGets the vertical resolution, in pixels per inch, of this Image. (Inherited from Image.)
Public propertySupported by the .NET Compact FrameworkWidthGets the width, in pixels, of this Image. (Inherited from Image.)
Top
  NameDescription
Explicit interface implemetationPrivate methodISerializable..::.GetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object. (Inherited from Image.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker