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
  • Modifying the displayed page
  • Limit
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The property PageNumber property is used to identify:
  • AndroidiPhone/iPad the number of pages found in a PDF file displayed in an Image control.
  • AndroidiPhone/iPad the number of pages found in a PDF file displayed in a PDF Reader control.
Reminder Some image formats (such as TIFF) can contain several images in a single file. Each image corresponds to a file page. These formats are called "multi-page" formats.
Example
AndroidiPhone/iPad
// Afficher la page 23 dans le champ Lecteur PDF
IF PDF_MonLecteurPDF.NombrePage>23 THEN
	PDF_MonLecteurPDF.NuméroPageAffichée = 23
END
Syntax
<Number of pages> = <Control used>.NumberPage
<Number of pages>: Integer
  • Number of pages found in the file associated with the specified control.
  • 1 if the format of image file is not "multi-page" or if the "multi-page" format contains a single page.
  • 0 if the specified control is not associated with an image format supported by WINDEV.
<Control used>: Control name
Name of the field to be manipulated:
  • AndroidiPhone/iPad Name of Image control,
  • AndroidiPhone/iPad Name of the PDF Reader control.
Remarks

Modifying the displayed page

To change the page displayed:
  • For the Image controls and the Chart controls, use PageNumber.
  • For the PDF Reader controls and the Word Processing controls, use NumberDisplayedPage.

Limit

The NumberPage property applies only to:
  • AndroidiPhone/iPad Image controls in windows,
  • AndroidiPhone/iPad PDF Reader controls.
Related Examples:
The Image control (display a PDF or a TIFF) Unit examples (WINDEV): The Image control (display a PDF or a TIFF)
[ + ] Displaying a PDF or TIFF document in the Image control found in a window.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help