Opens a PDF document and loads it in a
pdfDocument variable.
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.
<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
Password to open the PDF file to use (if the file is protected by a password).
Business / UI classification: Business Logic
Component: wd280wdpdf.dll