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
..DisplayMode is used to find out and modify the display mode in a Word Processing control or PDF Reader control.
Example
// [Web mode] button
WP_DocControl..DisplayMode = displayModeWeb
Syntax

Finding out the display mode in a Word Processing or PDF Reader control Hide the details

<Result> = <Control Name>..DisplayMode
<Result>: Integer constant
Current display mode of control:
displayModeTwoPagesThe document pages are displayed two by two on the screen.
displayModeTwoPagesWithCoverThe document pages are displayed two by two on the screen. The first page is considered as being a cover. The first page is displayed on the right.
Note: This constant is not available for the Word Processing control.
displayModeOnePage
(Default value)
The document is displayed as it will be printed.
displayModeWebThe document is displayed in the format of a Web page.
Note: This constant is not available for the PDF Reader control.
<Control Name>: Character string (with or without quotes)
Name of Word Processing or PDF Reader control to use.

Modifying the display mode in a Word Processing or PDF Reader control Hide the details

<Control Name>..DisplayMode = <New Mode>
<Control Name>: Character string (with or without quotes)
Name of Word Processing or PDF Reader control to use.
<New Mode>: Integer constant
Display mode to apply to the control:
displayModeTwoPagesThe document pages are displayed two by two on the screen.
displayModeTwoPagesWithCoverThe document pages are displayed two by two on the screen. The first page is considered as being a cover and it is displayed on the right.
Notes:
  • Using this constant changes the display mode but it does not change the document zoom in the PDF Reader control. To modify the zoom, use ..Zoom.
  • This constant is not available for the Word Processing control.
displayModeOnePage
(Default value)
The document is displayed as it will be printed.
displayModeWebThe document is displayed in the format of a Web page.
Note: This constant is not available for the PDF Reader control.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment