How can we cancel manually large file conversion process pdf to excel or any other format

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?


We are sorry that no such feature is available at the moment in the Aspose.PDF. However, an investigation ticket as PDFNET-53601 has been logged in our issue tracking system to further analyze its feasibility. We will let you know once the ticket is resolved. Please be patient and spare us some time.

We are sorry for the inconvenience.


This would be of great interest to us too.

Will you reply directly in this thread when you have a solution?

Best regards


Yes, we will directly post a notification here as soon as the attached ticket is resolved.