Conversion of MS-Word(All Version) and MS-Excel(All Version) into PDF

HI,
Can all the data other than OOXML can be converted to PDF in Word document including Formats.Can you please provide a code snippet for word document, that needs to be added to above code and the document should be printed.
Thanks
Docufind user

Hello
Thanks for your inquiry. Please try using the following code:
doc.Save(“C:\Temp\out.pdf”, SaveFormat.Pdf);
Please see the following link to learn how to convert a document to PDF:
https://docs.aspose.com/words/net/convert-a-document-to-pdf/
Also, please see the following link to see the table which provides detail about how Aspose.Words saves document in the PDF format:
https://docs.aspose.com/words/net/convert-a-document-to-pdf/
Best regards,

HI,
We had bought the license version of Aspose.
But I have a issue.Ours is an web application.

com.aspose.words.License lWord = new com.aspose.words.License();

Execution is stopping here.
When debugged the application, when the cursor is on this code(com.aspose.words.License lWord = new com.aspose.words.License();). It is directly moving to finally block.when Inspected the lWord variable, it is giving “lWord cannot be resolved to variable”
Can you please help on this.
Thanks
Docufind User

Hello
Thanks for your request. Could you please describe the problem you are observing in more detail way.
Also, please make sure that you applied license as described here:
https://docs.aspose.com/words/net/licensing/
Also, please check the points described in “Licensing” section in FAQ:
https://forum.aspose.com/t/aspose-words-faq/2711

Best regards,

The issues you have found earlier (filed as WORDSNET-3860) have been fixed in this .NET update and this Java update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.
(4)