xpdfSpliceOpenOutputW
Open an output PDF file with a Unicode file name.
// Windows only
XpdfSpliceOutputHandle xpdfSpliceOpenOutputW(const wchar_t *pdfFileName, double pdfVersion)
This function opens an output PDF file,
pdfFileName
, from
disk, and constructs a handle.
This function is identical to xpdfSpliceOpenOutput
, except that the
file name is Unicode (whcar_t*
instead
of char*
).
The xpdfSpliceOpenOutputW
function returns an
XpdfSpliceOutputHandle
if successful, and otherwise
returns NULL
.
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.
This function is only available on Windows.
C:
XpdfSpliceOutputHandle out;
out = xpdfSpliceOpenOutput("c:/test/newfile.pdf", 1.6);
if (!out) {
/* handle the error */
}