EmfToWmfBitsFlags enumeration (gdiplusenums.h)

Specifies options for the Metafile::EmfToWmfBits method, which converts an Enhanced Metafile (EMF) metafile to a Windows Metafile Format (WMF) metafile.

Syntax

typedef enum EmfToWmfBitsFlags {
  EmfToWmfBitsFlagsDefault = 0x00000000,
  EmfToWmfBitsFlagsEmbedEmf = 0x00000001,
  EmfToWmfBitsFlagsIncludePlaceable = 0x00000002,
  EmfToWmfBitsFlagsNoXORClip = 0x00000004
} ;

Constants

 
EmfToWmfBitsFlagsDefault
Value: 0x00000000
Specifies the default conversion.
EmfToWmfBitsFlagsEmbedEmf
Value: 0x00000001
Specifies that the source EMF metafile is embedded as a comment in the resulting WMF metafile.
EmfToWmfBitsFlagsIncludePlaceable
Value: 0x00000002
Specifies that the resulting WMF metafile is in the placeable metafile format; that is, it has the additional 22-byte header required by a placeable metafile.
EmfToWmfBitsFlagsNoXORClip
Value: 0x00000004
Specifies that the clipping region is stored in the metafile in the traditional way. If you do not set this flag, the Metafile::EmfToWmfBits method applies an optimization that stores the clipping region as a path and simulates clipping by using the XOR operator.

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)

See also

Metafile

Metafile::EmfToWmfBits