|119555||Jul 8,2015 09:39 AM UTC||Jul 9,2015 08:56 AM UTC||ASP.NET MVC||2|
//Step 1: Instantiates the spreadsheet creation engine.
ExcelEngine excelEngine = new ExcelEngine();
//Step 2: Instantiates the excel application object.
IApplication application = excelEngine.Excel;
IWorkbook workbook = application.Workbooks.Open("Sample.xlsx", ExcelOpenType.Automatic);
//Opens the Excel Document to Convert.
ExcelToPdfConverter converter = new ExcelToPdfConverter(workbook);
//Intializes the PDFDocument.
PdfDocument pdfDoc = new PdfDocument();
//Intializes the ExcelToPdfconverterSettings.
ExcelToPdfConverterSettings settings = new ExcelToPdfConverterSettings();
//Converts Excel Document into PDF document.
// this line throw exception!
pdfDoc = converter.Convert(settings);
//Saves the pdf file.
It saved to PDF and worked well.
So I guess there is some bug in XlsIO
Thank you for using Syncfusion products.
We were able to reproduce the issue and have logged defect report regarding this. We have provided the estimation time line for this fix in the incident you have created. Kindly follow up that incident to get further updates.
Please let me know if you have any questions.
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.