IsCanonicalPixelFormat 関数 (gdipluspixelformats.h)

IsCanonicalPixelFormat メソッドは、指定されたピクセル形式が正規形式の 1 つである PixelFormat32bppARGB または PixelFormat64bppARGB のいずれであるかを決定します。

構文

BOOL IsCanonicalPixelFormat(
  PixelFormat pixfmt
);

パラメーター

pixfmt

種類: PixelFormat

テストするピクセル形式を指定する PixelFormat 定数。

戻り値

種類: BOOL

ピクセル形式が PixelFormat32bppARGB または PixelFormat64bppARGB の場合、このメソッドは TRUE を返します。それ以外の場合は、 FALSE を返します。

要件

要件
サポートされている最小のクライアント Windows Vista [デスクトップ アプリのみ]
サポートされている最小のサーバー Windows Server 2008 [デスクトップ アプリのみ]
対象プラットフォーム Windows
ヘッダー gdipluspixelformats.h (Gdiplus.h を含む)
Library Gdiplus.lib