xpdfSpliceGetNumPages

Get the number of pages in an input PDF file.
int xpdfSpliceGetNumPages(XpdfSpliceInputHandle in)
This function returns the number of pages in an input PDF file.
C:
XpdfSpliceInputHandle in; int numPages; in = xpdfSpliceOpenInput("c:/test/file.pdf"); numPages = xpdfSpliceGetNumPages(in);