This documentation is archived and is not being maintained.

PixelFormat Members

Defines a pixel format for images and pixel-based surfaces.

The PixelFormat type exposes the following members.

Public method Static member Equals Overloaded. Determines whether the two PixelFormat objects are equal.
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Creates a hash code from this pixel format's Masks value. (Overrides ValueType.GetHashCode().)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Creates a string representation of this PixelFormat. (Overrides ValueType.ToString().)

Public operator Static member Equality Compares two PixelFormat instances for equality.
Public operator Static member Inequality Compares two PixelFormat instances for inequality.

Public property BitsPerPixel Gets the number of bits-per-pixel (bpp) for this PixelFormat.
Public property Masks Gets a collection of bit masks associated with the PixelFormat.