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
| mfEMF | Classic Windows Enhanced Metafile format based on classic GDI commands (offers broad compatibility across Windows viewers). |
|---|---|
| mfEMFPlus | Windows Enhanced Metafile Plus format based on modern GDI+ records (supports anti-aliasing and complex transparency). |
| mfEMFDual | Records both classic GDI and GDI+ streams, allowing GDI-only rendering engines to display a fallback image while GDI+-enabled viewers read high-fidelity vectors. |
| mfWMF | Legacy 16-bit Windows Metafile format (retained for backward compatibility). |