Hi Team,
When I convert docx file to PDF through Aspose.Words.dll (19.10) then it throws the error related to “IndexOutOfRangeException”. Please see the error message and the file attached (zip file) with this post.
Please see below code for the reference:
var filePath = @"C:\Temp\ReportFileWhichShowsErrorOnAspose.docx";
var pdfOutputFilePath = @"C:\Temp\docxfile.pdf";
new Document(filePath).Save(pdfOutputFilePath);
Please let me know how can I fix this issue.
Thanks,
KK
ErrorInConvertingDocxFiletoPDF.zip (329.4 KB)