Image.GetPixelFormatSize(PixelFormat) Método

Definição

Retorna a profundidade de cor, em número de bits por pixel, do formato de pixel 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

O PixelFormat membro que especifica o formato para o qual localizar o tamanho.

Retornos

A profundidade de cor do formato de pixel especificado.

Aplica-se a