PDFium Delphi Component Docs

SetPdfPrintMode function

Unit: PDFium
Selects the print backend used by FPDF_RenderPage when feeding the platform printer

Syntax

function SetPdfPrintMode(PrintMode: TPdfPrintMode): Boolean;

Description

Selects the print backend used by FPDF_RenderPage when feeding the platform printer

Default is prEmf on Windows; use prPostScript* on PostScript devices to avoid double-rasterization

Unit-level function in the PDFium unit that configures the Windows print rendering mode

Remarks

Example

begin
  PDFium.SetPdfPrintMode(prEmf);
end;

See Also

SetPdfPrintPaperHandlingDevMode