.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.

Constructors

  NameDescription
Public methodSupported by the .NET Compact FrameworkBitmapOverloaded. Initializes a new instance of the Bitmap class.
Top
Methods

  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 FrameworkEqualsDetermines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodSupported by the .NET Compact FrameworkFinalizeAllows 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 memberFromHiconCreates a Bitmap from a Windows handle to an icon.
Public methodStatic memberFromResourceCreates 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 FrameworkGetHashCodeServes 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 methodGetHiconReturns 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 FrameworkGetPixelGets 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 FrameworkGetTypeGets 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 FrameworkSetPixelSets the color of the specified pixel in this Bitmap.
Public methodSetPropertyItemStores a property item (piece of metadata) in this Image. (Inherited from Image.)
Public methodSetResolutionSets the resolution for this Bitmap.
Public methodSupported by the .NET Compact FrameworkToStringReturns a String that represents the current Object. (Inherited from Object.)
Public methodSupported by the .NET Compact FrameworkUnlockBitsUnlocks this Bitmap from system memory.
Top
Properties

  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
Explicit Interface Implementations

  NameDescription
Explicit interface implemetationPrivate methodISerializable..::.GetObjectDataPopulates a SerializationInfo with the data needed to serialize the target object. (Inherited from Image.)
Top
See Also

Reference

Tags :


Page view tracker