|
|
|
|
|
- Modifying the displayed page
- Case of PDF and DOCX files with a large number of pages
- Limit
NumberPage (Property) In french: NombrePage
The NumberPage property is used to get: - 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.
- the number of pages found in a PDF file displayed in an Image control.
- the number of pages found in a PDF file displayed in a PDF Reader control.
- the number of pages found in a DOCX file displayed in a Word Processing 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. Syntax
<Number of pages> = <Control used>.NumberPage
Remarks Modifying the displayed page To modify the displayed page: - For the Image controls and the Chart controls, use PageNumber.
- For the PDF Reader controls and the Word Processing controls, use NumberDisplayedPage.
Related Examples:
|
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.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|