xpdfSpliceOpenInput
Open an input PDF file.
XpdfSpliceInputHandle xpdfSpliceOpenInput(const char *pdfFileName)
This function opens an input PDF file,
pdfFileName
, from
disk, and constructs a handle.
The xpdfSpliceOpenInput
function returns an
XpdfSpliceInputHandle
if successful, and otherwise
returns NULL
.
IMPORTANT: The PDF file on disk must not be deleted or modified
until after xpdfSpliceCloseInput
is called.
C:
XpdfSpliceInputHandle in;
in = xpdfSpliceOpenInput("c:/test/file.pdf");
if (!in) {
/* handle the error */
}