PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
New WINDEV 23 feature!
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
..NumberAccessiblePages 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.
Example
// Retrieves the number of pages currently loaded in the PDF Reader control
Trace(PDF_Reader..NumberAccessiblePages)
Syntax
<Result> = <Control Name>..NumberAccessiblePages
<Result>: Integer
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.
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 required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment