getPageCount

Returns the number of pages of a stored PDF file.

Syntax

function getPageCount(realName: string): number
 
Parameter Description
realName Unique internal ID of the source PDF file (real name).

Return Value

Returns the number of pages of the PDF file.

Examples