GetNumberOfPagesInPDFFile

 

int GetNumberOfPagesInPDFFile(LPSTR szFileName)

Description

This function retrieves the number of pages in the specified PDF file.

Parameters

LPSTR

szFileName

The name of the PDF file.

Return values

The return value is the number of pages on success, otherwise -1.