PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
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 document and loads it in a pdfDocument variable.
Versions 250064 and later
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
New in version 250064
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
Versions 25 and later
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
New in version 25
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
iPhone/iPad From version 25 Update 1 (250064), this function is available for iPhone/iPad applications.
Android Widget From version 25 Update 1 (250064), this function is available in Android Widget mode.
Android From version 25 Update 1 (250064), this function is available for Android applications.
Example
MyPDF is pdfDocument = PDFOpen("test.pdf")
 
IF ErrorOccurred() THEN
  Error(ErrorInfo())
  RETURN
END
Syntax
<Result> = PDFOpen(<Document source> [, <Password>])
<Result>: pdfDocument variable
pdfDocument variable corresponding to the specified PDF document.
The ErrorOccurred variable is set to True if an error occurred and ErrorInfo returns the error details.
<Document source>: Type corresponding to the source
Corresponds to one of the following elements:
  • Full or relative path of PDF file to open (up to 260 characters).
  • Name of the Buffer containing the PDF document.
  • Name of the memo item containing the PDF document. This parameter has the following format: <Data file> <Item>.
<Password>: Optional character string (with quotes)
Password to open the PDF file to use (if the file is protected by a password).
Business / UI classification : Business Logic
Component : wd260wdpdf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment