Export (0) Print
Expand All

Bitmap Members

Bitmap overview

Public Constructors

public constructorBitmap Constructor

Supported by the .NET Compact Framework.

Overloaded. Initializes a new instance of the Bitmap class.

Public Properties

public propertyFlags (inherited from Image) Gets attribute flags for this Image object.
public propertyFrameDimensionsList (inherited from Image) Gets an array of GUIDs that represent the dimensions of frames within this Image object.
public propertyHeight (inherited from Image)

Supported by the .NET Compact Framework.

Gets the height of this Image object.
public propertyHorizontalResolution (inherited from Image) Gets the horizontal resolution, in pixels-per-inch, of this Image object.
public propertyPalette (inherited from Image) Gets or sets the color palette used for this Image object.
public propertyPhysicalDimension (inherited from Image) Gets the width and height of this image.
public propertyPixelFormat (inherited from Image) Gets the pixel format for this Image object.
public propertyPropertyIdList (inherited from Image) Gets IDs of the property items stored in this Image object.
public propertyPropertyItems (inherited from Image) Gets all the property items (pieces of metadata) stored in this Image object.
public propertyRawFormat (inherited from Image) Gets the format of this Image object.
public propertySize (inherited from Image)

Supported by the .NET Compact Framework.

Gets the width and height, in pixels, of this image.
public propertyVerticalResolution (inherited from Image) Gets the vertical resolution, in pixels-per-inch, of this Image object.
public propertyWidth (inherited from Image)

Supported by the .NET Compact Framework.

Gets the width of this Image object.

Public Methods

public methodClone Overloaded. Creates a copy of the section of this Bitmap defined with a specified PixelFormat.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDispose (inherited from Image)

Supported by the .NET Compact Framework.

Overloaded.
public methodEquals (inherited from Object)

Supported by the .NET Compact Framework.

Overloaded. Determines whether two Object instances are equal.
public methodstatic (Shared in Visual Basic)FromHicon Creates a Bitmap from a Windows handle to an icon.
public methodstatic (Shared in Visual Basic)FromResource Creates a Bitmap object from the specified Windows resource.
public methodGetBounds (inherited from Image) Gets a bounding rectangle in the specified units for this Image object.
public methodGetEncoderParameterList (inherited from Image) Returns information about the parameters supported by the specified image encoder.
public methodGetFrameCount (inherited from Image) Returns the number of frames of the specified dimension.
public methodGetHashCode (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.
public methodGetHbitmap Overloaded. Creates a GDI bitmap object from a GDI+ Bitmap object.
public methodGetHicon Returns the handle to an icon.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetPixel

Supported by the .NET Compact Framework.

Gets the color of the specified pixel in this Bitmap.
public methodGetPropertyItem (inherited from Image) Gets the specified property item from this Image object.
public methodGetThumbnailImage (inherited from Image) Returns a thumbnail for this Image object.
public methodGetType (inherited from Object)

Supported by the .NET Compact Framework.

Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodLockBits Locks a Bitmap object into system memory.
public methodMakeTransparent Overloaded. Makes the default transparent color transparent for this Bitmap.
public methodRemovePropertyItem (inherited from Image) Removes the specified property item from this Image object.
public methodRotateFlip (inherited from Image) This method either rotates, flips, or rotates and flips the Image object.
public methodSave (inherited from Image) Overloaded. Saves this image to the specified stream in the specified format.
public methodSaveAdd (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.
public methodSelectActiveFrame (inherited from Image) Selects the frame specified by the dimension and index.
public methodSetPixel

Supported by the .NET Compact Framework.

Sets the color of the specified pixel in this Bitmap object.
public methodSetPropertyItem (inherited from Image) Stores a property item (piece of metadata) in this Image object.
public methodSetResolution Sets the resolution for this Bitmap.
public methodToString (inherited from Object)

Supported by the .NET Compact Framework.

Returns a String that represents the current Object.
public methodUnlockBits Unlocks this Bitmap from system memory.

Protected Methods

protected methodFinalize (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.

protected methodMemberwiseClone (inherited from Object)

Supported by the .NET Compact Framework.

Creates a shallow copy of the current Object.

See Also

Bitmap Class | System.Drawing Namespace

Show:
© 2014 Microsoft