Insert PDF 2 PDF (not merge)

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Merger for Java (v3 and older)  /  Insert PDF 2 PDF (not merge)

DynamicPDF Merger for Java (v3 and older) Forum

 Dec 09 2005 9:42 AM
Hi,

Is it possible to get one PDF document which contains only one page, scale it and then insert to another document to specified place (like as picture)?

Thanks.
 Dec 09 2005 10:40 AM
Posted by a ceTe Software moderator
Hello,

Yes, you can take an existing PDF document and scale it and place it anywhere on another PDF document without any problem. Take a look at the PlacePDFs example that is downloaded with the product download. It shows how to take a page from an existing PDF document and place it on another PDF document.

Feel free to download fully functional evalution version of DynamicPDF Merger for Java.

Thanks,
ceTe Software Support Team
 Dec 14 2005 10:08 AM
In you example you do insert to new empty document, and i whant to insert existed pdf to another existed pdf.... how can i do this?
 Dec 14 2005 11:52 AM
Posted by a ceTe Software moderator
Hello,

You can insert one PDF document into another PDF document using the code below:

MergeDocument document = new MergeDocument("DocumentA.pdf", startingpage, numberofpages)
document.append( "DocumentB.pdf", startingpage, numberofpages );
document.append( "DocumentA.pdf", startingpage, numberofpages );

Thanks,
ceTe Software Support Team

All times are US Eastern Standard time. The time now is 2:29 PM.