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

Free Support Forum - aspose.com

Stack Overflow Exception While Generating a PDF from an ODS File

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
xls.Save(processedFile, saveOptions)

I’m getting the exception in the red marked line.
The file I’m using is attached for sample.

Thank you in advance.

Hi,


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.

Thank you.

Thank you. :slight_smile:

Hi,

We have fixed this issue. Please download: Aspose.Cells for .NET v7.0.0.1

The issues you have found earlier (filed as 30177) have been fixed in this update.


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