[]
Gets the number of bits per pixel for a particular pixel format.
public static int GetBitsPerPixel(Guid guid)
Type | Name | Description |
---|---|---|
Guid | guid | The pixel format guid. |
Type | Description |
---|---|
int | The number of bits per pixel. If the pixel format guid is invalid, returns 0 |