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
..UseMode allows you to find out and modify the mode for using the PDF Reader control with the mouse. The mouse is used to select text in the document or to move within the document pages.
The PDF Reader is in selection mode by default.
Example
// Switches the control to move mode
PDF_MyPDF..UseMode = modeUseMovement
Syntax

Finding out the mode for using the PDF Reader control with the mouse Hide the details

<Result> = <Control Name>..UseMode
<Result>: Integer constant
Current mode for using the PDF document:
modeUseMovementThe control is in move mode:
  • the left mouse button allows you to move within the document.
  • the mouse cursor turns into hand.
  • if the ribbon is displayed, the "Move" option is selected ("Display" pane, "Mode" group).
modeUseSelectionThe control is in selection mode:
  • the left mouse button allows you to select the document elements.
  • the mouse cursor turns into input cursor.
  • if the ribbon is displayed, the "Selection" option is selected ("Display" pane, "Mode" group).
<Control Name>: Character string (with or without quotes)
Name of PDF Reader control to use.

Modifying the mode for using the PDF Reader control with the mouse Hide the details

<Control Name>..UseMode = <New Mode>
<Control Name>: Character string (with or without quotes)
Name of PDF Reader control to use.
<New Mode>: Integer constant
New mode for using the PDF document:
modeUseMovementThe control is in move mode:
  • the left mouse button allows you to move within the document.
  • the mouse cursor turns into hand.
  • if the ribbon is displayed, the "Move" option is selected ("Display" pane, "Mode" group).
modeUseSelectionThe control is in selection mode:
  • the left mouse button allows you to select the document elements.
  • the mouse cursor turns into input cursor.
  • if the ribbon is displayed, the "Selection" option is selected ("Display" pane, "Mode" group).
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment