TPDFlibMetafileFormat

Data Types

Description

TPDFlibMetafileFormat enumerates Windows Metafile layout formats used when rendering PDF page contents to a GDI/GDI+ metafile stream or file.

Syntax

Delphi

type TPDFlibMetafileFormat = (mfEMF, mfEMFPlus, mfEMFDual, mfWMF);

Values

mfEMFClassic Windows Enhanced Metafile format based on classic GDI commands (offers broad compatibility across Windows viewers).
mfEMFPlusWindows Enhanced Metafile Plus format based on modern GDI+ records (supports anti-aliasing and complex transparency).
mfEMFDualRecords both classic GDI and GDI+ streams, allowing GDI-only rendering engines to display a fallback image while GDI+-enabled viewers read high-fidelity vectors.
mfWMFLegacy 16-bit Windows Metafile format (retained for backward compatibility).

See also

RenderPageToMetafileStream, RenderPageToMetafileFile