RenderAsMultipageTIFFToFile
Image handling, Rendering and printing
Description
Renders the specified pages from the selected document to a multi-page TIFF file.
ImageOptions 1, TIFF (G4) output, is only available on Windows Vista and Windows Server 2008 and later.
Syntax
Delphi
Function TPDFlib.RenderAsMultipageTIFFToFile(DPI: Double; Const PageRanges: WideString; ImageOptions, OutputOptions: Integer; Const FileName: WideString): Integer;
ActiveX
Function PDFlib::RenderAsMultipageTIFFToFile(DPI As Double, PageRanges As String, ImageOptions As Long, OutputOptions As Long, FileName As String) As Long
DLL
int DLRenderAsMultipageTIFFToFile(int InstanceID, double DPI, const wchar_t * PageRanges, int ImageOptions, int OutputOptions, const wchar_t * FileName);
Parameters
| DPI | The DPI to render the pages at |
|---|---|
| PageRanges | A list of pages to render, for example "5-10,3,12". |
| ImageOptions | 0=24-bit RGB TIFF 1=1-bit G4 TIFF |
| OutputOptions | Reserved for future use, should be set to 0. |
| FileName | The file name and path of the TIFF file to create |
Return values
| 0 | Invalid parameters or cannot create file The multipage TIFF was created successfully |
|---|---|
| 1 |