ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The NumberAccessiblePages property is used to get the number of pages currently loaded in a PDF Reader or Word Processing control.
When opening a PDF file containing a large 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.
Example
// Retrieves the number of pages currently loaded in the PDF Reader control
Trace(PDF_Reader.NumberAccessiblePages)
Syntax
<Result> = <Control used>.NumberAccessiblePages
<Result>: Integer
Number of pages currently loaded in the PDF Reader control or in the Word Processing control.
<Control used>: Control name
Name of the control to be used:
  • PDF Reader control,
  • Word Processing control.
Remarks
The NumberPage property waits until the file PDF or DOCX file is loaded and returns the total number of pages. This property is locking.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help