VintaSoft Imaging .NET SDK 14.0: Documentation for .NET 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 System.Int32
    public static System.Int32 GetBitsPerPixel(
    PixelFormat pixelFormat
    )
    public: static System.Int32 GetBitsPerPixel(
    PixelFormat pixelFormat
    )
    public:
    static System.Int32 GetBitsPerPixel(
    PixelFormat pixelFormat
    )

    Parameters

    pixelFormat
    Pixel format.

    Return Value

    Number of bits per pixel for specified pixel format.
    Requirements

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

    See Also