Appends a PDF to the end of the document.




Doc.Append Doc



Name Type Description
Doc Doc The document to add to the end of this one.




Use this method to append one PDF to the end of another one.

Individual pages from one PDF can be drawn into another using the AddImageDoc method.

If you are inserting a number of pages, it is much faster to use the Append method than to draw pages individually. It also has the advantage of maintaining other information such as bookmarks.




The following code snippet illustrates how one might join two PDF documents together.

Set theDoc1 = Server.CreateObject("ABCpdf13.Doc")
theDoc1.FontSize = 192
theDoc1.HPos = 0.5
theDoc1.VPos = 0.5
Set theDoc2 = Server.CreateObject("ABCpdf13.Doc")
theDoc2.FontSize = 192
theDoc2.HPos = 0.5
theDoc2.VPos = 0.5
theDoc1.Append theDoc2
theDoc1.Save "c:\mypdfs\docjoin.pdf"

docjoin.pdf [Page 1]

docjoin.pdf [Page 2]