function RenderOverprintPreview(Width, Height: Integer; Rotation: TRotation = ro0; Options: TRenderOptions = []; Color: TColor = clWhite): TBitmap;
| Width, Height | Integer. Size of the output bitmap in pixels |
| Rotation | TRotation. Display rotation applied to the page |
| Options | TRenderOptions. Rendering flags |
| Color | TColor. Background fill applied before rendering |
| Result | TBitmap. A newly created bitmap the caller owns and must free |
A normal render knocks out whatever lies underneath; an overprint preview shows the inks mixing the way they will on paper. For a page that PageUsesOverprint reports as overprinting, the two renders differ, and the preview is the one that predicts the print
Native overprint preview is a capability of the loaded PDFium module; without it the call raises EPdfError
The render lock is held for the call, so it is safe against concurrent rendering on the same component