IsCanonicalPixelFormat-Funktion (gdipluspixelformats.h)

Die IsCanonicalPixelFormat-Methode bestimmt, ob ein angegebenes Pixelformat eines der kanonischen Formate ist: PixelFormat32bppARGB oder PixelFormat64bppARGB.

Syntax

BOOL IsCanonicalPixelFormat(
  PixelFormat pixfmt
);

Parameter

pixfmt

Typ: PixelFormat

Eine PixelFormat-Konstante , die das zu testende Pixelformat angibt.

Rückgabewert

Typ: BOOL

Wenn das Pixelformat PixelFormat32bppARGB oder PixelFormat64bppARGB ist, gibt diese Methode TRUE zurück. Andernfalls wird FALSE zurückgegeben.

Anforderungen

Anforderung Wert
Unterstützte Mindestversion (Client) Windows Vista [nur Desktop-Apps]
Unterstützte Mindestversion (Server) Windows Server 2008 [nur Desktop-Apps]
Zielplattform Windows
Kopfzeile gdipluspixelformats.h (include Gdiplus.h)
Bibliothek Gdiplus.lib