Free Support Forum -

Append PDF document for the final result


I would like to know what are the possibilities to append a PDF document to our final document.

I Explain:

We have 3 documents. The first and the last one are DOC files. The middle one is a PDF. In the case the second one would have been DOC file, we could use AppendDocument method to combine the 3 docs. But the second one id PDF so is there any way to get a final document (maybe could only be possible to output int PDF format) that would merge the whole 3 docs (.doc, .pdf and .doc again).

I Hope i’m clear enough!

Thanks and have a nice day.




Thanks for your inquiry. Yes, you can achieve your requirement by using Aspose.Words and Aspose.Pdf. First you need to convert PDF to Doc and then merge all thread documents by using Aspose.Words as shown in following code snippet. You can convert PDF document to Doc file format by using Aspose.Pdf. Please read the details from here:

<span style=“font-size:10.0pt;
font-family:“Courier New”;background:yellow;mso-highlight:yellow;mso-font-kerning:
pdf = new Aspose.Pdf.Document(MyDir

  • “doc2.pdf”);<o:p></o:p>

pdf.Save(MyDir + "doc2.doc", Aspose.Pdf.SaveFormat.Doc);

Document doc1 = new Document(MyDir + "doc1.doc");

Document doc2 = new Document(MyDir + "doc2.doc");

Document doc3 = new Document(MyDir + "doc3.doc");

doc1.AppendDocument(doc2, ImportFormatMode.KeepSourceFormatting);

doc1.AppendDocument(doc3, ImportFormatMode.KeepSourceFormatting);

doc1.Save(MyDir + "out.doc", SaveFormat.Doc);

I suggest you please read following documentation links for your kind refernece.


I’ve downloaded aspose PDF and will give it a try later on this week…!
I’ll tell you then if everything works as expected.
Thanks once again and have a nice day,



Thanks for your feedback. Please feel free to ask if you have any question about Aspose.Words, we will be happy to help you.