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

Parameters

DPIThe DPI to render the pages at
PageRangesA list of pages to render, for example "5-10,3,12".
ImageOptions0=24-bit RGB TIFF 1=1-bit G4 TIFF
OutputOptionsReserved for future use, should be set to 0.
FileNameThe file name and path of the TIFF file to create

Return values

0Invalid parameters or cannot create file The multipage TIFF was created successfully
1