ftos.files.pdf.getPagesCount

IMPORTANT!  
Starting with v24.3.0, this is renamed from getPageCount to ftos.files.pdf.getPagesCount.

Returns the number of pages of a stored PDF file.

This is a business logic method for business service components.

Syntax

function ftos.files.pdf.getPagesCount(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