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