We are using Aspose.Pdf to convert pdf to excel.
// save document in excel format Aspose.Pdf.ExcelSaveOptions exceloptions = new Aspose.Pdf.ExcelSaveOptions(); exceloptions.Format = ExcelSaveOptions.ExcelFormat.XLSX; exceloptions.MinimizeTheNumberOfWorksheets = false; exceloptions.InsertBlankColumnAtFirst = false; pdfDoc.Save(“output.xlsx”, exceloptions);
I have read an article related that-> Interruption Token used after set timeout. But first thing is that we cannot use Aspose.words ,since It’s required minimum 4.6.1 .Net framework, whereas we are using 4.5.2 .Net framework, That’s why we are using Aspose.pdf.
Secondly Interruption Token cancel the running process after the set timeout period, but our requirement is different, we cannot set timeout, since we don’t know about time during conversion process, It depend on pdf size.
Simple we want for any long conversion process, if user want to cancel at any point of time, It will do that.
So there is any cancel API or any other way to achieve this requirement?