Open an output PDF file.
openOutput([in] BSTR pdfFileName, [in] double pdfVersion, [out, retval] LONG *outputHandle)
This function opens an output PDF file, pdfFileName, from disk, and constructs a handle.

The openOutput function throws an error if the PDF file cannot be opened.

The PDF version in the output file will be set to pdfVersion. XpdfSplice does not check that the content conforms to the specified version. Typically, it should be set to the highest version used in any of your input files.

Dim out as Long out = pdf.openOutput "c:/test/newfile.pdf", 1.6
Dim out as Long out = pdf.openOutput("c:/test/newfile.pdf", 1.6)