ComponentOne Bitmap for WinForms
C1.Win.Bitmap.4.8 Assembly / C1.Win.Bitmap Namespace / C1Bitmap Class / BitsPerPixel Method
The PixelFormat enumeration value.

In This Topic
    BitsPerPixel Method
    In This Topic
    Returns the number of bits-per-pixel (bpp) for the given value of the PixelFormat enumeration.
    Syntax
    'Declaration
     
    Public Shared Function BitsPerPixel( _
       ByVal pixelFormat As PixelFormat _
    ) As System.Integer
    public static System.int BitsPerPixel( 
       PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The PixelFormat enumeration value.
    See Also