This method is only available in WPViewPDF "PLUS"

This function is exported by the engine DLL to make it easy to convert PDF pages into TIFF files. No object has to be created and no initialization is required. (Please also see TIFF export commands)

This function defined as

Pascal:

function pdfConvertToTIFF(
filename: PChar;
password: PChar;
licname, lickey: PChar;
liccode: Cardinal;
destpath: PChar;
frompage, to_page: Integer;
tiffres: Integer): Integer; stdcall;

C:

stdcall int pdfConvertToTIFF(
char *filename,
char * password,
char * licname,
char * lickey,
long liccode,
char * destpath,
int frompage,
int to_page,
int tiffres);

VB

Declare Function pdfConvertToTIFF Lib "wPDFViewDemo02.dll" _
Alias "pdfMakeJPEG" _
(ByVal zfilename As String, _
ByVal zpassword As String, _
ByVal zlicname As String, _
ByVal zlickey As String, _
ByVal liccode As Long, _
ByVal zdestpath As String, _
ByVal frompage As Long, _
ByVal To_page As Long, _
ByVal tiffres As Long) As Long



Parameters:

filename:
the full path to the input PDF file

password: optional user password required to open the PDF file

licname, lickey, liccode: when using registered version use your license data here

destpath: the name of the created image file. Note, unlike with pdfMakeJPEG only one file will be created.

frompage: the first exported page, 1...

to_page: the last exported page

tiffres: - low-word (0000XXXX): the resolution for the TIFF file (default = 200),

hi-word: various options:

0 = create a CITTFAX compressed, monochrome TIFF file
2 = create a 24 bit LZW compressed TIFF file

Please add 32 to avoid uneven spaced characters in texts.

Please add 64 to render all text as outlines.