Image::GetType method

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

Syntax

ImageType GetType(

);

Parameters

This method has no parameters.

Return Value

Type: Type: ImageType

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

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

Image

ImageType

Loading and Displaying Metafiles

Types of Bitmaps