ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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 with a large number of pages, the PDF Reader control loads each page in turn: not all pages are 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
// Récupère le nombre de pages actuellement chargées dans le champ Lecteur PDF
Trace(PDF_Lecteur.NombrePageAccessible)
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 control to use:
  • 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: 09/21/2024

Send a report | Local help