is used to find out the number of pages currently loaded in the PDF Reader control or in the Word Processing control.
When opening a PDF file containing a huge number of pages, the PDF control loads each page successively: some pages are not immediately accessible. This property returns the number of PDF pages currently loaded without having to wait for the end of load.
The behavior is identical for a DOCX file opened by a Word Processing control.
// Retrieves the number of pages currently loaded in the PDF Reader control
<Result> = <Control Name>..NumberAccessiblePages
Number of pages currently loaded in the PDF Reader control or in the Word Processing control.
<Control Name>: Character string (with or without quotes)
Name of control to use:
- PDF Reader control,
- Word Processing control.
waits for the end of file load and it returns the total number of pages found in the PDF or DOCX file. This property is locking.