Image.GetPixelFormatSize(PixelFormat) Methode

Definitie

Retourneert de kleurdiepte, in het aantal bits per pixel, van de opgegeven pixelnotatie.

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

Parameters

pixfmt
PixelFormat

Het PixelFormat lid dat de notatie opgeeft waarvoor de grootte moet worden gevonden.

Retouren

De kleurdiepte van de opgegeven pixelindeling.

Van toepassing op