PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
Opens a PDF file displayed in a PDF Reader control.
Versions 25 and later
Android This function is now available for Android applications.
New in version 25
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Example
PDFReaderOpen(PDF_MyPDFReader, "C:\MyDocument.pdf")
Syntax
<Result> = PDFReaderOpen(<PDF Reader control> , <Path> [, <Password>])
<Result>: Boolean
  • True if the PDF file was successfully opened,
  • False otherwise. The document currently displayed in the control is not modified. To find out the error details, use ErrorInfo associated with the errMessage constant.
<PDF Reader control>: Control name
Name of PDF Reader control to use.
<Path>: Character string (with quotes)
Full or relative path of PDF file to open.
<Password>: Optional character string (with quotes)
Password required to open the file (PDF file protected in opening).
  • If this parameter is not specified and if the PDF file is password protected, a window will be displayed, allowing the user to type the password.
  • The function will return an error if the specified password is not valid for the document.
Remarks
To close the PDF document displayed in the PDF Reader control, use PDFReaderClose.
Business / GUI classification : GUI Code
Component : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment