PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
PDFMergeWithPassword (Function)
In French: PDFFusionneAvecMotDePasse
Merges several existing PDF files into a single PDF file. The passwords of different PDF files are supported. The files are merged one after another.
Example
PDFMergeWithPassword("C:\PDF Doc\pdf_merge.pdf", ...
"C:\PDF Doc\ReportQuery.pdf", "pwd", "C:\PDF Doc\Concepts.pdf", "pwd2")
Syntax
<Result> = PDFMergeWithPassword(<Result PDF File> , <PDF File 1> , <PDF Password 1> , <PDF File 2> , <PDF Password 2> [, ... [, <PDF File N>, <PDF Password N>]])
<Result>: Boolean
  • True if the result file was generated,
  • False otherwise. To find out the error details, use ErrorInfo.
<Result PDF File>: Character string (with quotes)
Name and full path of PDF file to create. This file will contain the PDF files that have been merged.
<PDF File 1>: Character string (with quotes)
Name and full path of first PDF file to merge.
<PDF Password 1>: Character string (with quotes)
  • Password for opening the first PDF file,
  • Empty string ("") if the file has no password.
<PDF File 2>: Character string (with quotes)
Name and full path of second PDF file to merge.
<PDF Password 2>: Character string (with quotes)
  • Password for opening the second PDF file,
  • Empty string ("") if the file has no password.
<PDF File N>: Optional character string (with quotes)
Name and full path of Nth PDF file to merge.
<PDF Password N>: Optional character string (with quotes)
  • Password for opening the Nth PDF file,
  • Empty string ("") if the file has no password.
Remarks
  • The PDF files protected by an admin password cannot be merged.
  • Up to version 18:
    • This function only generates PDF files in version 1.4.
    • The merge is not supported by the PDF files in version 1.5 and later.
  • From version 19, the PDF files in version 1.5 are supported by WINDEV and WEBDEV.
  • The bookmarks found in the PDF files are not kept by the merge operation.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230pdf.dll
Minimum required version
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment