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
DisplayModeAutoWhenLoading (Property)
In French: ModeAffichageAutoAuChargement
..DisplayModeAutoWhenLoading is used to find out and modify the behavior of 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>..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>: Character string (with or without quotes)
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>..DisplayModeAutoWhenLoading = <New Mode>
<PDF Reader>: Character string (with or without quotes)
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.
Minimum required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment