DynamicPDF? for COM/ActiveX Help Library - December 2011 Send comments on this topic.
Document Merge
See Also
DynamicPDF Merger for COM/ActiveX > Programming with Merger for COM/ActiveX > Document Merge

Glossary Item Box

Appending Documents

The following code will load a PDF document, append a range of pages from one document to it, and then append another entire document to it.

[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"-->
<%
    Dim MyDocument
    Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
    MyDocument.LoadPdf Server.MapPath( "PDFs/DocumentA.pdf" )
    MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentB.pdf" ), 1, 2 
    MyDocument.AppendPdf Server.MapPath( "PDFs/DocumentC.pdf" ) 
    MyDocument.DrawToWeb
    Set MyDocument = Nothing
%>

See Also

©2011. All Rights Reserved.