PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

This content has been translated automatically. Click here to view the French version.
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 Property ModeManipulation allows to know or modify the champ PDF Reader handling mode via 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.ModeManipulation = modeUseMovement
Syntax

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

<Result> = <PDF Reader control>.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 an input cursor.
  • if the ribbon is displayed, the "Selection" option is selected ("Display" pane, "Mode" group).
<PDF Reader control>: Control name
Name of PDF Reader control to use.

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

<PDF Reader control>.UseMode = <New mode>
<PDF Reader control>: Control name
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 an input cursor.
  • if the ribbon is displayed, the "Selection" option is selected ("Display" pane, "Mode" group).
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment