Image.GetPixelFormatSize(PixelFormat) Methode

Definition

Gibt die Farbtiefe in Der Anzahl der Bits pro Pixel des angegebenen Pixelformats zurück.

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

Parameter

pixfmt
PixelFormat

Das PixelFormat Element, das das Format angibt, für das die Größe gefunden werden soll.

Gibt zurück

Die Farbtiefe des angegebenen Pixelformats.

Gilt für: