Document Solutions for PDF
DS.Documents.Imaging.Windows Assembly / GrapeCity.Documents.Imaging.Windows Namespace / GcWicBitmap 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 WicPixelFormat _
    ) As System.Integer
    public static System.int BitsPerPixel( 
       WicPixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    The PixelFormat enumeration value.
    See Also