PDFium Delphi Component Docs

RenderSpotPlate method

Component: TPdf  ·  Unit: PDFium
Rasterise one spot-colour separation of the current page

Syntax

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

PlateIndexInteger. Zero-based plate index from SpotPlates. A negative value raises EPdfError
Width, HeightInteger. Size of the output bitmap in pixels
RotationTRotation. Display rotation applied to the page
OptionsTRenderOptions. Rendering flags
ColorTColor. Background fill applied before rendering
ResultTBitmap. A newly created bitmap the caller owns and must free

Description

Renders the page as it would print on one separation: only the content that uses that ink appears. Proofing a two-colour job means rendering each plate and checking that the right artwork lands on each

Plate indexes come from SpotPlates and stay valid whilst the page is loaded

Native spot-plate rendering is a capability of the loaded PDFium module; without it the call raises EPdfError

See Also

SpotPlates, RenderOverprintPreview, PageUsesOverprint, RenderPage