RenderPageTileToFileEx
Rendering and printing
Description
Renders one tile and its optional overlap into a raster file
Syntax
function TPDFlib.RenderPageTileToFileEx(DPI: Double;
Page, PixelLeft, PixelTop, PixelWidth, PixelHeight, Overlap: Integer;
const Options: TPDFlibPageRasterOptions; const FileName: WideString;
out Info: TPDFlibPageRasterInfo): Integer;
Parameters
| DPI, Page | A positive finite resolution and a 1-based page number |
|---|---|
| PixelLeft, PixelTop, PixelWidth, PixelHeight | The tile core in pixels from the upper-left of the rotated effective page box. The core must fit inside that page |
| Overlap | The requested expansion in pixels on every side, clipped at the page bounds |
| Options | A TPDFlibPageRasterOptions value selecting the raster format and rendering policies |
| FileName | The destination image path. The library finishes the tile in memory before publishing the file |
| Info | An output TPDFlibPageRasterInfo receiving the actual overlapped pixel bounds and effective rendering choices |
Use the pixel coordinates, format and policies of RenderPageTileToStreamEx. The file extension is part of the supplied name. The library finishes the tile in memory before publishing the destination
Return values
Returns 1 when publication succeeds and 0 when rendering or publication fails