VintaSoft Imaging .NET SDK 14.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 Vintasoft.Imaging.PixelFormat _
    ) As Integer
    public static int GetBitsPerPixel(
    Vintasoft.Imaging.PixelFormat pixelFormat
    )
    public: static int GetBitsPerPixel(
    Vintasoft.Imaging.PixelFormat pixelFormat
    )
    public:
    static int GetBitsPerPixel(
    Vintasoft.Imaging.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

    See Also