GetBitsPerPixel Method (PixelFormat)
In This Topic
Gets the number of bits per pixel for a particular pixel format.
Syntax
'Declaration
Public Shared Function GetBitsPerPixel( _
ByVal As Guid _
) As Integer
public static int GetBitsPerPixel(
Guid
)
Parameters
- guid
- The pixel format guid.
Return Value
The number of bits per pixel. If the pixel format guid is invalid, returns 0
See Also