PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Modifying the displayed page
  • Limit
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
..NumberPage is used to find out:
  • Windows Mobile the number of pages found in a "multi-page" image file. This image is displayed in an Image control or in the background of a Chart control.
  • AndroidiPhone/iPadWindows Mobile the number of pages found in a PDF file displayed in an Image control.
  • Versions 23 and later
    AndroidiPhone/iPad the number of pages found in a PDF file displayed in a PDF Reader control.
    New in version 23
    AndroidiPhone/iPad the number of pages found in a PDF file displayed in a PDF Reader control.
    AndroidiPhone/iPad the number of pages found in a PDF file displayed in a PDF Reader control.
Reminder: Some image formats (TIFF for example) can contain several images in the same file. Each image corresponds to a file page. These formats are called "multi-page" formats.
Versions 25 and later
Android This property is now available for Android applications, PDF Reader controls, and Image controls that display a PDF file.
iPhone/iPad This property is now available for iPhone or iPad applications, PDF Reader controls, and Image controls that display a PDF file.
New in version 25
Android This property is now available for Android applications, PDF Reader controls, and Image controls that display a PDF file.
iPhone/iPad This property is now available for iPhone or iPad applications, PDF Reader controls, and Image controls that display a PDF file.
Android This property is now available for Android applications, PDF Reader controls, and Image controls that display a PDF file.
iPhone/iPad This property is now available for iPhone or iPad applications, PDF Reader controls, and Image controls that display a PDF file.
Example
AndroidiPhone/iPad
// Display page 23 in the PDF Reader control
IF PDF_MyPDFReader..NumberPage>23 THEN
PDF_MyPDFReader..NumberDisplayedPage = 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 control to use:
  • AndroidiPhone/iPadWindows Mobile Name of Image control,
  • Windows Mobile Name of Chart control,
  • Versions 23 and later
    AndroidiPhone/iPad Name of PDF Reader control.
    New in version 23
    AndroidiPhone/iPad Name of PDF Reader control.
    AndroidiPhone/iPad Name of PDF Reader control.
Remarks

Modifying the displayed page

To modify the displayed page:

Limit

..NumberPage only applies to:
  • AndroidiPhone/iPadWindows Mobile the Image controls found in the windows,
  • Windows Mobile the Chart controls found in the windows,
  • Versions 23 and later
    AndroidiPhone/iPad the PDF Reader controls.
    New in version 23
    AndroidiPhone/iPad the PDF Reader controls.
    AndroidiPhone/iPad the 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