PDFium Delphi Component Docs

SetPdfPrintMode 函数

单元: PDFium
选择 FPDF_RenderPage 在向平台打印机输送数据时使用的打印后端

语法

function SetPdfPrintMode(PrintMode: TPdfPrintMode): Boolean;

说明

选择 FPDF_RenderPage 在向平台打印机输送数据时使用的打印后端

Windows 上默认为 prEmf;在 PostScript 设备上使用 prPostScript* 以避免双重光栅化

PDFium 单元中的单元级函数,用于配置 Windows 打印渲染模式

备注

示例

begin
  PDFium.SetPdfPrintMode(prEmf);
end;

参见

SetPdfPrintPaperHandlingDevMode