We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Load PDF from database into Aspose.Words' DOM using .NET

Does Aspose not allow you to load a PDF that is stored in the DB to a document?

I notice that there is no load format for PDF.

All I am trying to do is use the AppendDocument method to group multiple pdf’s stored in a DB into a single PDFto send to a printer. (not a PC printer, a printing company)

I get the error "Unknown file format when I try to create a new document from a memory stream that contains the valid PDF file from the database.


Thanks for your inquiry. No, Aspose.Words does not allow loading PDF documents. Using Aspose.Words you can save your Word documents as PDF, but cannot open PDFs.

If you need to concatenate PDF documents, you can try using Aspose.Pdf.Kit. Please follow the link to learn more:


Best regards,


The latest version of Aspose.Words does support import of PDF. Please install the latest version of Aspose.Words for .NET through NuGet and load the PDF as shown below.

Document doc = new Document("input.pdf");