Hello,
I am trying to convert a Word file with a blank page to PDFA1a format.
Aspose.Words.Document doc = new Aspose.Words.Document(documentoWord);
Aspose.Words.Saving.PdfSaveOptions options = new Aspose.Words.Saving.PdfSaveOptions();
options.Compliance = Aspose.Words.Saving.PdfCompliance.PdfA1a;
doc.Save(documentoPdf, options);
When I run code I have this error message for “Save” method:
“Specified argument was out of the range of valid values. Parameter name: index”
Attached is an example of word document fails.
Thanks for the help.
Hi Alberto,
Thanks for your inquiry. I have tested the scenario using latest version of Aspose.Words for .NET 15.7.0 and have not found the shared issue. Please use Aspose.Words for .NET 15.7.0. I have attached the output Pdf with this post for your kind reference.