RenderXFAPageToFile
Forms, XFA rendering, file output
Description
Renders one generated XFA page and writes the encoded raster image directly to FileName
The file is created only through the normal page-rendering pipeline after the XFA template, static text, data binding, fields, and page breaks have been converted in an isolated document
Syntax
Function TPDFlib.RenderXFAPageToFile(DPI: Double; Page, Options: Integer; Const FileName: WideString): Integer;Parameters
| DPI | Raster resolution in dots per inch |
|---|---|
| Page | One-based generated XFA page number |
| Options | The raster output format option |
| FileName | Destination image file path |
Return values
| 0 | Rendering or file output failed |
|---|---|
| 1 | The page image was written successfully |