Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

MetafileType enumeration

Applies to: desktop apps only

The MetafileType enumeration specifies types of metafiles. The MetafileHeader::GetType method returns an element of this enumeration.

Syntax

typedef enum  {
  MetafileTypeInvalid        = 0,
  MetafileTypeWmf            = 1,
  MetafileTypeWmfPlaceable   = 2,
  MetafileTypeEmf            = 3,
  MetafileTypeEmfPlusOnly    = 4,
  MetafileTypeEmfPlusDual    = 5 
} MetafileType;

Constants

MetafileTypeInvalid

Specifies a metafile format that is not recognized in GDI+.

MetafileTypeWmf

Specifies a WMF file. Such a file contains only GDI records.

MetafileTypeWmfPlaceable

Specifies a WMF file that has a placeable metafile header in front of it.

MetafileTypeEmf

Specifies an EMF file. Such a file contains only GDI records.

MetafileTypeEmfPlusOnly

Specifies an EMF+ file. Such a file contains only GDI+ records and must be displayed by using GDI+. Displaying the records using GDI may cause unpredictable results.

MetafileTypeEmfPlusDual

Specifies an EMF+ Dual file. Such a file contains GDI+ records along with alternative GDI records and can be displayed by using either GDI or GDI+. Displaying the records using GDI may cause some quality degradation.

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

MetafileHeader::GetType

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft