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

Free Support Forum - aspose.com

Aspose.word versus aspose.pdf - cover pages

How do I insert an image into a PDF using aspose.pdf? How do I insert text? Can I flip the text 90% so it reads up/and down?

Similarily, how do I prepend a book cover using aspose.word? Is it better to join 2 PDFs or prepend a page and program using Aspose.word?

finally, we are still using asp.net and an old version of aspose.word. Do we still need to compile a COM object? We would like to skip the Com wrapper altogether.


Thanks for your query.

You can add image to PDF page with below code:

Aspose.Pdf.Document doc = new Aspose.Pdf.Document();
Aspose.Pdf.Page page = doc.Pages.Add();
page.PageInfo.Margin = new MarginInfo(0, 0, 0, 0);
Aspose.Pdf.Image image = new Aspose.Pdf.Image();
image.File = dataDir + @"aspose-logo.jpg";
doc.Save(dataDir + "Image_19.1.pdf");

Text can be added as:
Add Text to a PDF file

Text can be rotated with Rotate property
Rotate Text Inside PDF

You can concatenate PDF files, if required:
Concatenate PDF Files

We are gathering information regarding Aspose.Words and will share the details soon.


You can save your Word document to PDF using Aspose.Words and concatenate PDF using Aspose.PDF. Below code example shows how to convert Word document to PDF.

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

Could you please share what is document type of your book cover? We will then provide you more information about your query.

If you are using ASP.NET, you do not need to use COM Interop. Could you please share some more detail about this query? We will then answer your query accordingly.