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

ADD
Show: