Description
Appends a PDF document to the current document.
Parameters
- PdfDocument
- PDF document to import.
- StartPage
- Page number to start importing from.
- PageCount
Number of pages to import.
- MergeOptions
- MergeOptions object specifying the merge options.
Example
[ASP - VBScript]
<% Dim MyDocument Set MyDocument = Server.CreateObject( "DynamicPDF.Document" ) MyDocument.Creator = "MergePDFs.asp" MyDocument.Author = "Your Name" MyDocument.Title = "Merge PDFs" MyDocument.AddPage() ' Append additional PDF MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentB.pdf" ) MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentC.pdf" ) ' Append 3 MyPages from an aditional PDF MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentD.pdf" ), 1, 3 ' Outputs the merged document to the current web MyPage MyDocument.DrawToWeb Set MyDocument = Nothing %>
|
See Also
Document Object
© Copyright 2007, ceTe Software