BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-Word Programming API  |  Download Free Trial  |  Contact Us to Purchase

NumberOfPages Property

Get the total number of pages from the input PDF.

Function NumberOfPages(InputFileName As String,
                          [Password] As Variant)
                          As Long



Input PDF file.

Password (optional)

Password to open the PDF document, if any.

Exception Handling

Please refer to the list of return exceptions.

Example Usage

oConverter = CreateObject("EasyConverter.PDF2Word.4")
nPages = oConverter.NumberOfPages(inFileName)