Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The MetafileType enumeration specifies types of metafiles. The MetafileHeader::GetType method returns an element of this enumeration.
Syntax
typedef enum MetafileType {
MetafileTypeInvalid,
MetafileTypeWmf,
MetafileTypeWmfPlaceable,
MetafileTypeEmf,
MetafileTypeEmfPlusOnly,
MetafileTypeEmfPlusDual
} ;
Constants
MetafileTypeInvalidSpecifies a metafile format that is not recognized in GDI+. |
MetafileTypeWmfSpecifies a WMF file. Such a file contains only GDI records. |
MetafileTypeWmfPlaceableSpecifies a WMF file that has a placeable metafile header in front of it. |
MetafileTypeEmfSpecifies an EMF file. Such a file contains only GDI records. |
MetafileTypeEmfPlusOnlySpecifies 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. |
MetafileTypeEmfPlusDualSpecifies 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |