BCL easyConverter SDK
easyConverter SDK Usermanual
PDF-to-HTML 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


Parameters

InputFileName

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.PDF2HTML.4")
nPages = oConverter.NumberOfPages(inFileName)