Table of Contents

Enum MetafilePlayback

Namespace
Egami.Metafiles
Assembly
Egami.Metafiles.dll

Which records of an EMF+ dual file play.

public enum MetafilePlayback

Fields

Auto = 0

As GDI+ plays the file: the EMF+ records, and the GDI records only where EmfPlusGetDC hands drawing to GDI. Plain WMF and EMF play their GDI records.

Gdi = 1

As GDI plays the file: the GDI records only, EMF+ records ignored, as programs without GDI+ draw a dual file.

Examples

// A dual EMF+ file plays its EMF+ records by default, as Office and GDI+ do; Gdi plays only the GDI records, as
// programs without GDI+ draw it.
Metafile picture = Metafile.Load(path);
using Raster<Rgba8> gdi = picture.Rasterize<Rgba8>(new MetafileRenderOptions { Playback = MetafilePlayback.Gdi });