GetBitsPerPixel(PixelFormat) Method (VintasoftBitmap)
Returns number of bits per pixel for specified pixel format.
'Declaration
Public Shared Function GetBitsPerPixel( _
ByVal As PixelFormat _
) As System.Int32
public static System.Int32 GetBitsPerPixel(
PixelFormat
)
public: static System.Int32 GetBitsPerPixel(
PixelFormat
)
public:
static System.Int32 GetBitsPerPixel(
PixelFormat
)
Parameters
- pixelFormat
- Pixel format.
Return Value
Number of bits per pixel for specified pixel format.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5