Image::GetFrameCount method

The Image::GetFrameCount method gets the number of frames in a specified dimension of this Image object.

Syntax

UINT GetFrameCount(
  IN const GUID *dimensionID
);

Parameters

dimensionID

Type: const GUID*

Pointer to a GUID that specifies the dimension. GUIDs that identify various dimensions are defined in Gdiplusimaging.h.

Return Value

Type: Type: UINT

This method returns the number of frames in the specified dimension of this Image object.

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See Also

Copying Individual Frames from a Multiple-Frame Image

Creating and Saving a Multiple-Frame Image

EncoderParameter

Image

Image::GetFrameDimensionsCount

Image::GetFrameDimensionsList

Image::SaveAdd Methods