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

Free Support Forum - aspose.com

Abort PDF Save thread

Hi,

I would like to know if there’s anyway we could kill the thread even if it is saving a pdf document, and Aspose would release the created pdf.

Can InterruptionToken do it?

My code in working thread:

Aspose.Pdf.Generator.Section sec = pdfFile.Sections.Add();
image = Aspose.Pdf.Generator.Image.FromSystemImage(new Bitmap(srcFile));
// do something about image
sec.Paragraphs.Add(image);
pdfFile.Save(outputFile);

Thanks

Hi Chen,


Thanks for your inquiry. We have logged a ticket PDFNEWNET-39528 in our issue tracking system for further investigation and resolution. We will keep you updated about the issue resolution progress within this forum thread.

We are sorry for the inconvenience caused.

Best Regards,