Image::GetFrameCount メソッド (gdiplusheaders.h)

Image::GetFrameCount メソッドは、この Image オブジェクトの指定した次元のフレーム数取得します。

構文

UINT GetFrameCount(
  [in] const GUID *dimensionID
);

パラメーター

[in] dimensionID

型: const GUID*

ディメンションを指定する GUID へのポインター。 さまざまなディメンションを識別する GUID は、Gdiplusimaging.h で定義されます。

戻り値

型: UINT

このメソッドは、この Image オブジェクトの指定した次元のフレーム数 返します。

要件

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

こちらもご覧ください

Multiple-Frame イメージから個々のフレームをコピーする

複数フレーム画像の作成と保存

EncoderParameter

Image

Image::GetFrameDimensionsCount

Image::GetFrameDimensionsList

Image::SaveAdd メソッド