Returns the color depth, in number of bits per pixel, of the specified pixel format.
Syntax
Parameters
- pixfmt
-
The System.Drawing.Imaging.PixelFormat member that specifies the format for which to find the size.
Returns
The color depth of the specified pixel format.
Remarks
Requirements
Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0