N2PDFExport |
Start page Previous page Next page |
N2PDFExport ( <JobID>, <ExportFormat>) -> <ErrorCode>
Description Using this function, you can also save (export) the created PDF file by specifying the ExportFormat as either a TIFF, JPEG, PNG or BMP graphic. The export files are saved to the same directory in which the PDF file has already been saved. There are further options available to you for controlling the export file(s).
Declaration for LotusScript Declare Function N2PDFExport Lib LibName_ ( Byval JobID As Long, Byval ExportFormat As Long ) As Long
Parameters <JobID> (LONG) The number that is returned when N2PDFInit is invoked and which references the PDF file in the memory. You use this ID to control which PDF you want to access with the function.
<ExportFormat> (LONG) Use this parameter to specify the export format.
Return <ErrorCode> (LONG) The code number of the error that has occurred when performing the function (see "Error Codes ").
Examples: The PDF file is also exported as TIFF, JPG, PNG or BMP
Call N2PDFExport ( JobID, N2PDFVALUE_EXPORT_TIFF )
Call N2PDFExport ( JobID, N2PDFVALUE_EXPORT_JPEG )
Call N2PDFExport ( JobID, N2PDFVALUE_EXPORT_PNG )
Call N2PDFExport ( JobID, N2PDFVALUE_EXPORT_BMP )
|