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

Free Support Forum - aspose.com

Extract Content of a file and Insert into PDF

Hi @,

I have a requirement where i should be able to extract a content of file and Insert into PDF.

This example would explain you my requirement.

I have one word document which has some content. Then When i click on some button PDF has to be generated which contains the content of the word document.

Any help would be appreciated.

Please provide us the code snippet if any.

Thanks in advance.



Hi Aneesh,

You can directly convert a Word document to PDF using Aspose.Words. You can find details on this link and if you have further questions regarding Word Document to PDF conversion, you can post a query in Aspose.Words forum.

I hope this helps.

Hi Aneesh,

Thanks for your inquiry. As Shahzad suggested, you can find details of these in the documentation.

You can easily load a document using the Document class and its constructors as described here.

Then you can work with and extract content of a document like in the examples found in the articles here.

To see how to convert a document to PDF please see the article here.