Image.GetPixelFormatSize(PixelFormat) Método

Definición

Devuelve la profundidad de color, en número de bits por píxel, del formato de píxel especificado.

public:
 static int GetPixelFormatSize(System::Drawing::Imaging::PixelFormat pixfmt);
public static int GetPixelFormatSize (System.Drawing.Imaging.PixelFormat pixfmt);
static member GetPixelFormatSize : System.Drawing.Imaging.PixelFormat -> int
Public Shared Function GetPixelFormatSize (pixfmt As PixelFormat) As Integer

Parámetros

pixfmt
PixelFormat

Integrante de PixelFormat que especifica el formato para el que se debe buscar el tamaño.

Devoluciones

Int32

Profundidad de color del formato de píxel especificado.

Se aplica a