VintaSoft Twain .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / VintasoftBitmap Class / GetPixelFormat Methods / GetPixelFormat(Int32) Method
Syntax Requirements SeeAlso
In This Topic
    GetPixelFormat(Int32) Method (VintasoftBitmap)
    In This Topic
    Returns the pixel format from bits per pixel of a bitmap.
    Syntax
    'Declaration
    
    Public Overloads Shared Function GetPixelFormat( _
    ByVal bitsPerPixel
    The bits per pixel.
    As Integer _
    ) As PixelFormat
    public static PixelFormat GetPixelFormat(
    int bitsPerPixel
    )
    public: static PixelFormat GetPixelFormat(
    int bitsPerPixel
    )
    public:
    static PixelFormat GetPixelFormat(
    int bitsPerPixel
    )

    Parameters

    bitsPerPixel
    The bits per pixel.

    Return Value

    The pixel format.
    Requirements

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

    See Also