The Image::GetFrameDimensionsCount() method gets the number of frame dimension identifiers in the image dimensions.
UINT GetFrameDimensionsCount()
Parameters
This method has no parameters.
Return Values
This method returns the number of frame dimensions.
Remarks
This method returns information about multiframe images, which come in two styles: multipage and multiresolution. A multipage image is an image that contains more than one image. Each page contains a single image (or frame). These pages (or images, or frames) are typically displayed in succession to produce an animated sequence, such as in an animated GIF file.
A multiresolution image is an image that contains more than one copy of an image at different resolutions. This is commonly used by MIP mapping, where the displayed image size determines the resolution of the image used for drawing.
GDI+ can support an arbitrary number of pages (or images, or frames), as well as an arbitrary number of resolutions.