ComponentOne Bitmap for WPF
C1.WPF.Bitmap.4.5.2 Assembly / C1.WPF.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 Integer
    public static int BitsPerPixel( 
       PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The PixelFormat enumeration value.
    See Also