ComponentOne MultiSelect for WinForms
C1.Framework.Drawing.Gdi Namespace / BitsPerPixel Enumeration

In This Topic
    BitsPerPixel Enumeration
    In This Topic
    Represents the bits-per-pixel of the bitmap.
    Syntax
    'Declaration
     
    
    Public Enum BitsPerPixel 
       Inherits System.Enum
    public enum BitsPerPixel : System.Enum 
    Members
    MemberDescription
    Bits16TrueColorsThe bitmap has a maximum of 2^16 colors. In general, the color table is empty, each word in the bitmap array represents a single pixel
    Bits1MonochromeEach bit in the bitmap array represents a pixel. the items member of color table contains two entries.
    Bits24TrueColorsThe bitmap has a maximum of 2^24 colors. In general, the color table is empty, each 3-byte triplet in the bitmap array represents the relative intensities of blue, green, and red, respectively, for a pixel.
    Bits32TrueColorsThe bitmap has a maximum of 2^32 colors. In general, the color table is empty, each double-word in the bitmap array represents the relative intensities of blue, green, and red, respectively, for a pixel.
    Bits4Colors16The bitmap has a maximum of 16 colors, the items member of color table contains up to 16 entries. Each pixel in the bitmap is represented by a 4-bit index into the color table.
    Bits8Colors256The bitmap has a maximum of 256 colors, and the items member of color table contains up to 256 entries. Each byte in the array represents a single pixel.
    SpecifiedByFormatThe number of bits-per-pixel is specified or is implied by the JPEG or PNG format.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.BitsPerPixel

    See Also