PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV 25 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
Opens a PDF document and loads it in a pdfDocument variable.
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 : wd250wdpdf.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment