PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

  • Specific features for the Word Processing control
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 NumberDisplayedPage property is used to identify and change the number of the page currently displayed in the PDF Reader or Word Processing control. More than 50% of this page is displayed in the control.
Versions 25 and later
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in iPhone/iPad applications.
New in version 25
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in iPhone/iPad applications.
Android This property is now available for PDF Reader controls in Android applications.
iPhone/iPad This property is now available for PDF Reader controls in iPhone/iPad applications.
Example
// Displays the number of the page displayed in a control
STC_pages = "Page " + PDF_READER_MyPDF.NumberDisplayedPage
Syntax

Finding out the number of the displayed page Hide the details

<Result> = <Control used>.NumberDisplayedPage
<Result>: Integer
Number of the page currently displayed in the specified control. More than 50% of this page is displayed.
<Control used>: Control name
Name of control to use:
  • PDF Reader control,
  • WINDEV Word Processing control.

Modifying the number of the displayed page Hide the details

<Control used>.NumberDisplayedPage = <Page to display>
<Control used>: Control name
Name of control to use:
  • PDF Reader control,
  • WINDEV Word Processing control.
<Page to display>: Integer
Number of the page to display in the specified control.
Remarks
WINDEV

Specific features for the Word Processing control

  • In a Word Processing control, the number of the displayed page can differ from the number of the page currently in edit (for example, input in page N+1 while the page N is displayed at 70% in the control).
  • When the page displayed with the NumberDisplayedPage property is modified, the position of the input cursor does not change in the control.
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment