PixelFormat Members

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

The following tables list the members exposed by the PixelFormat type.

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

(see also Protected Methods )
  Name Description
Public method Equals Overloaded. Overridden. Determines whether the two PixelFormat objects are equal.
Public method GetHashCode Overridden. Creates a hash code from this pixel format's Masks value.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static op_Equality Compares two PixelFormat instances for equality.
Public method Static op_Inequality Compares two PixelFormat instances for inequality.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString Overridden. Creates a string representation of this PixelFormat.

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Community Additions