N2PDFSetTempPath

Start page  Previous page  Next page

 

N2PDFSetTempPath ( <TempPath> ) -> <ErrorCode>

 

Description

You can use this function to designate the directory where n2pdf can file temporary files while creating PDFs. The directory defined in the computer's "Temp" environment variables is used by default. If you want to change this so that temporary files are filed in a specific directory, then invoke this function by specifying the particular path. Please ensure that the user has appropriate rights to this directory.

 

Declaration for LotusScript

Declare Function N2PDFSetTempPath Lib LibName_

( ByVal TempPath As Unicode String ) As Long

 

Parameters

<TempPath> (UNICODE STRING)

The directory where n2pdf is to file the temporary files.

 

Return

<ErrorCode> (LONG)

The code number of the error that has occurred when performing the function (see "Error Codes ").