VintaSoft Barcode .NET SDK 15.0: Documentation for Web developer
Vintasoft.Imaging Namespace / VintasoftBitmap Class / GetBitsPerPixel(PixelFormat) Method
Syntax Requirements SeeAlso
In This Topic
    GetBitsPerPixel(PixelFormat) Method (VintasoftBitmap)
    In This Topic
    Returns number of bits per pixel for specified pixel format.
    Syntax
    'Declaration
    
    Public Shared Function GetBitsPerPixel( _
    ByVal pixelFormat
    Pixel format.
    As PixelFormat _
    ) As Integer
    public static int GetBitsPerPixel(
    PixelFormat pixelFormat
    )
    public: static int GetBitsPerPixel(
    PixelFormat pixelFormat
    )
    public:
    static int GetBitsPerPixel(
    PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    Pixel format.

    Return Value

    Number of bits per pixel for specified pixel format.
    Requirements

    Target Platforms: .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also