AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
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
DisplayModeAutoWhenLoading (Property)
In french: ModeAffichageAutoAuChargement
The DisplayModeAutoWhenLoading property is used to determine and change the display mode when loading a PDF document. The display mode (1 page, 2 pages, 2 pages with cover) used can correspond to:
  • the display mode specified in the control.
  • the preferred display mode specified in the PDF file.
By default, the PDF Reader control respects the display preferences of PDF file.
Example
// Forces the document to be displayed in 1-page mode
PDF_MyPDFReader.DisplayModeAutoWhenLoading = False
PDF_MyPDFReader.DisplayMode = displayModeOnePage
PDFReaderOpen(PDF_MyPDFReader, "MyDocument.pdf")
Syntax

Finding out the behavior of display mode in relation to the preferences of PDF document Hide the details

<Result> = <PDF Reader control>.DisplayModeAutoWhenLoading
<Result>: Boolean
  • True if the display mode used when loading a PDF document in the control is the one specified in the PDF document. The display mode used will be automatically modified to correspond to the preferences specified in the PDF file.
  • False otherwise. The display mode used will not be changed when opening a PDF file.
<PDF Reader control>: Control name
Name of PDF Reader control to use.

Modifying the behavior of display mode in relation to the preferences of PDF document Hide the details

<PDF Reader control>.DisplayModeAutoWhenLoading = <New mode>
<PDF Reader control>: Control name
Name of PDF Reader control to use.
<New mode>: Boolean
  • True if the display mode used when loading a PDF document in the control is the one specified in the PDF document. The display mode used will be automatically modified to correspond to the preferences specified in the PDF file.
  • False otherwise. The display mode used will not be changed when opening a PDF file.
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 26/05/2022

Señalar un error o enviar una sugerencia | Ayuda local