Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
The IsCanonicalPixelFormat method determines whether a specified pixel format is one of the canonical formats: PixelFormat32bppARGB or PixelFormat64bppARGB.
Syntax
BOOL IsCanonicalPixelFormat(
  PixelFormat pixfmt
);
Parameters
pixfmt
Type: PixelFormat
A PixelFormat constant that specifies the pixel format to be tested.
Return value
Type: BOOL
If the pixel format is PixelFormat32bppARGB or PixelFormat64bppARGB, this method returns TRUE; otherwise, it returns FALSE.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] | 
| Minimum supported server | Windows Server 2008 [desktop apps only] | 
| Target Platform | Windows | 
| Header | gdipluspixelformats.h (include Gdiplus.h) | 
| Library | Gdiplus.lib |