Image::GetType method (gdiplusheaders.h)

The Image::GetType method gets the type (bitmap or metafile) of this Image object.

Syntax

ImageType GetType();

Return value

Type: ImageType

This method returns an element of the ImageType enumeration that indicates the image type.

Requirements

Requirement Value
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

Image

ImageType

Loading and Displaying Metafiles

Types of Bitmaps