PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
DisplayMode (Property)
 
..DisplayMode is used to find out and modify the display mode in a Word Processing control or PDF Reader control.
Ejemplo
// [Web mode] button
WP_DocControl..DisplayMode = displayModeWeb
Sintaxis

Finding out the display mode in a Word Processing or PDF Reader control Ocultar los detalles

<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 Ocultar los detalles

<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.
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario