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

Free Support Forum - aspose.com

Word to PDF saving not working (exception)

Currently evaluataing if Aspose word will fit our needs.

When trying to save a word document as PDF the library throws an Argument out of range exception and does not convert at all.

The code for this is simple and taken this webpage. It works for several other docs, but not for the attached one.



Here is the code :



Aspose.Words.Document doc = new Aspose.Words.Document(@“C:\Temp\Test3.docx”);



Aspose.Words.Saving.PdfSaveOptions options = new Aspose.Words.Saving.PdfSaveOptions();

options.Compliance = Aspose.Words.Saving.PdfCompliance.PdfA1b;



doc.Save(@“c:\Temp\Test3PDF.pdf”, options);



I hope someone could help, maybe it is a bug ?



thx

Hi Oliver,

Thanks for your inquiry.

While using the latest version of Aspose.Words i.e. 15.10.0, we managed to reproduce this issue on our end. We have logged this issue in our bug tracking system. Your thread has also been linked to the appropriate issue (WORDSNET-12669) and you will be notified as soon as it is resolved. Sorry for the inconvenience.

Best regards,
Hi Oliver,

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-12669. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

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


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