EmfToWmfBitsFlags Enumeration

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,
  EmfToWmfBitsFlagsEmbedEmf,
  EmfToWmfBitsFlagsIncludePlaceable,
  EmfToWmfBitsFlagsNoXORClip
} ;

Constants

EmfToWmfBitsFlagsDefault Specifies the default conversion.
EmfToWmfBitsFlagsEmbedEmf Specifies that the source EMF metafile is embedded as a comment in the resulting WMF metafile.
EmfToWmfBitsFlagsIncludePlaceable 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 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

   
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