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

DPIRaster resolution in dots per inch
PageOne-based generated XFA page number
OptionsThe raster output format option
FileNameDestination image file path

Return values

0Rendering or file output failed
1The page image was written successfully