Share via


Image.GetPixelFormatSize(PixelFormat) Metoda

Definice

Vrátí barevnou hloubku zadaného formátu pixelů v počtu bitů na pixel.

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

Parametry

pixfmt
PixelFormat

Člen PixelFormat , který určuje formát, pro který se má zjistit velikost.

Návraty

Barevná hloubka zadaného formátu pixelů.

Platí pro