Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ImageType enumeration

Applies to: desktop apps only

The ImageType enumeration indicates whether an image is a bitmap or a metafile. The Image::GetType method returns an element of this enumeration.

Syntax

typedef enum  {
  ImageTypeUnknown    = 0,
  ImageTypeBitmap     = 1,
  ImageTypeMetafile   = 2 
} ImageType;

Constants

ImageTypeUnknown

Indicates that the image type is not known.

ImageTypeBitmap

Indicates a bitmap image.

ImageTypeMetafile

Indicates a metafile image.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusenums.h (include Gdiplus.h)

See also

Image::GetType

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

Show:
© 2015 Microsoft