Thanks for your inquiry. Please use the following code example to convert the Word document to PDF. We suggest you please read the following article. Saving a Document
Thanks for your inquiry. The shared code in my previous post is correct. Could you please share some more detail about the issue you are facing? Please also share the input document here for testing. We will investigate the issue on our side and provide you more information.
Below is a piece of code, used for conversion. Actually document contains some table as well as headers. Have attached a document contents it have some table and data under those columns i just removed data from that for security purpose. Kindly assist me on the solution for it.
Thanks for sharing the detail. You are using Aspose.PDF to convert DOCX to PDF. This is the reason you are getting the exception. Please use the Aspose.Words for Java to convert DOCX to PDF.
If you are using Aspose.Words and Aspose.PDF, please use the following code example.
I need some input of below scenario how to show/hide a table in word template while converting into PDF using aspose words. Is it any API we can achieve or any aspose words interface to do it.
Scenario:
If A= Yes show Table 1. else hide Table 1.
Kindly provide some input on how to achieve this one using aspose.
Thanks for the input, but i need a requirement as below.
in the docx i have a table which contains 2 rows and 3 columns and i have to hide this entire table when if A= “Yes” else i have to show this table how to achieve this. provided input helps me to show/hide a piece of text in the document. But i have a table to be show/hide based on condition. Any inputs kindly let me know.