PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The Property AccessiblePageNumber shows the number of pages currently loaded in the champ PDF Reader or 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.
Example
// Retrieves the number of pages currently loaded in the PDF Reader control
Trace( PDF_Reader.NumberPageAccessible)
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
NumberPage 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.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment