| GraphicsToolsGetBitsPerPixel Method |
Gets the total bits per pixels for the specified format.
Namespace: Microsoft.IoT.DeviceCore.DisplayAssembly: Microsoft.IoT.DeviceCore (in Microsoft.IoT.DeviceCore.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int GetBitsPerPixel(
DisplayPixelFormat format
)
Public Shared Function GetBitsPerPixel (
format As DisplayPixelFormat
) As Integer
public:
static int GetBitsPerPixel(
[InAttribute] DisplayPixelFormat format
)
static member GetBitsPerPixel :
format : DisplayPixelFormat -> int
Parameters
- format
- Type: Microsoft.IoT.DeviceCore.DisplayDisplayPixelFormat
The format used to obtain the bit count.
Return Value
Type:
Int32
The number of bits per pixel.
See Also