PDFium Delphi Component Docs

RenderSpotPlate 方法

组件: TPdf  ·  单元: PDFium
光栅化当前页的一个专色分色

语法

function RenderSpotPlate(PlateIndex, Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []; Color: TColor = clWhite): TBitmap;

PlateIndexInteger。来自 SpotPlates 的从零开始的印版索引。负值会引发 EPdfError
Width, HeightInteger。输出位图的像素尺寸
RotationTRotation。应用于页面的显示旋转
OptionsTRenderOptions。渲染标志
ColorTColor。渲染前应用的背景填充
ResultTBitmap。调用者拥有且必须释放的新建位图

说明

按单分色印刷时的方式渲染页面:只有使用该油墨的内容出现。校样双色作业意味着渲染每个印版并检查正确的图形落在每个印版上

印版索引来自 SpotPlates,页面加载期间保持有效

原生专色渲染是已加载 PDFium 模块的一项能力;没有它时调用会引发 EPdfError

参见

SpotPlates, RenderOverprintPreview, PageUsesOverprint, RenderPage