pdf append existing file

Allows you to append files to a PDF file.


Running this code will append the file "Sample pdf.pdf" by adding a new page and adding a new paragraph with the following properties:

  • Text: Hi 555555555555555555555555555555555555555555555555555555555+
  • Font: Arial
  • Size: 10
  • Style: 0
  • Base Color: BLUE
  • Indentation Left: 10
  • Indentation Right: 10
  • First Line Indent: 10
  • Alignment: Align Left

Saving it as "Sample pdf 2.pdf".

plugin command("Document Automation.dll", "pdf append existing file", "{$special folder("Application")}\\Sample pdf.pdf", "{$special folder("Application")}\\Sample pdf 2.pdf", "Start") {
    plugin command("Document Automation.dll", "pdf add paragraph", "Hi 555555555555555555555555555555555555555555555555555555555+", "Arial", 10, 0, "BLUE", 10, 10, 10, "Align Left")
    plugin command("Document Automation.dll", "pdf add new page")

Was this helpful?

Previous Article

pdf add table

Next Article

pdf create new file