I’m getting a Stack Overflow Exception while trying to generate a PDF file from an ODS file.
The code is:
Dim xls As New Workbook(pFileName)
Dim saveOptions As New Aspose.Cells.PdfSaveOptions()
saveOptions.SecurityOptions = NewAspose.Cells.Rendering.PdfSecurity.PdfSecurityOptions()
saveOptions.SecurityOptions.ExtractContentPermission = False
saveOptions.SecurityOptions.PrintPermission = False
saveOptions.SecurityOptions.ModifyDocumentPermission = False
saveOptions.SecurityOptions.FullQualityPrintPermission = False
saveOptions.SecurityOptions.AssembleDocumentPermission = False
saveOptions.SecurityOptions.AnnotationsPermission = False
saveOptions.SecurityOptions.FillFormsPermission = False
saveOptions.SaveFormat = Aspose.Cells.SaveFormat.Pdf
I’m getting the exception in the red marked line.
The file I’m using is attached for sample.
Thank you in advance.
After an initial test using your sample code with your template file, I am able to reproduce the issue as you have mentioned. I have logged a ticket with an id: CELLSNET-30177. We will look into your issue soon.
We have fixed this issue. Please download: Aspose.Cells for .NET v220.127.116.11