PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
The UseMode property is used to determine or change how the PDF Reader control reacts to mouse input. 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 how the PDF Reader control reacts to mouse input 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.

Changing how the PDF Reader control reacts to mouse input 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