function RenderOverprintPreview(Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []; Color: TColor = clWhite): TBitmap;
| Width, Height | Integer. The dimensions of the output bitmap, in pixels |
| Rotation | TRotation. The display rotation to apply to the page |
| Options | TRenderOptions. The rendering flags to apply |
| Color | TColor. The background colour used before rendering begins |
| Result | TBitmap. A newly created bitmap which the caller owns and must free |
An ordinary render knocks out whatever lies underneath; an overprint preview shows the inks mixing as they will on paper. For a page which PageUsesOverprint reports as overprinting, the two renders differ, and it is the preview that predicts the printed result
Native overprint preview is a capability of the loaded PDFium module; should it be absent, the call raises EPdfError
The render lock is held for the duration of the call, so it is safe against concurrent rendering on the same component