Hi Aspose support,
I got this error when saving the docx document to pdf format.
We used Aspose.words (23.1.0) library.
We are using Windows 10 Pro (64-bit operating system, x64-based processor) and .NET Framework 6.0
Source code:
byte[] outputFileBuffer = redlineFile.OutputFileBuffer;
Aspose.Words.Document document;
using (MemoryStream ms = new MemoryStream(outputFileBuffer))
document = new Aspose.Words.Document(ms);
Aspose.Words.Savings.SaveOptions new PdfSaveOptions(){ UpdateFields = false }
MemoryStream pdfStream = new MemoryStream();
document.Save(pdfStream, saveOptions);
error:
we got this error at this line of code document.Save(pdfStream, Aspose.Words.SaveFormat.Pdf);
System.ArgumentOutOfRangeException: 'Specified argument was out of the range of valid values.
Parameter name: firstColumn'
at .(Int32 , Int32 )
at .(Int32 , Int32 )
at .()
at .()
at .( , IList`1 )
at .( )
at . ()
at .()
at . ()
at . ()
at .()
at .( )
at .( )
at .( , Int32 , Boolean )
at .( , Int32 , Boolean )
at .()
at .( , Int32 , Boolean , Boolean )
at .()
at .( , Int32 )
at .( , Int32 )
at .( )
at .()
at .( )
at .( )
at .( )
at .( )
at . ()
at .()
at Aspose.Words.Document.UpdatePageLayout()
at .( , )
at . ( )
at . ( )
at Aspose.Words.Document.( )
at Aspose.Words.Document.(Stream , String , SaveOptions )
at Aspose.Words.Document.Save(Stream stream, SaveOptions saveOptions)
Please help me on this.
Thanks.