[]
        
(Showing Draft Content)

C1.Win.Bitmap.C1Bitmap.BitsPerPixel

BitsPerPixel Method

BitsPerPixel(PixelFormat)

Returns the number of bits-per-pixel (bpp) for the given value of the PixelFormat enumeration.

Declaration
public static int BitsPerPixel(PixelFormat pixelFormat)
Parameters
Type Name Description
PixelFormat pixelFormat

The PixelFormat enumeration value.

Returns
Type Description
int