Cancel loading or paginating file on demand or after timeout

Hi GemBox Team,

I have a general question regarding the loading process of files into DocumentModel (or in the other components as MailMessage / PresentationDocument / ExcelFile) and paginating them: both operations can take a long time, is there a way to cancel those operations after a specific time or when a Cancellation Token is cancelled?

Kind regards,
Sarah

Hi Sarah,

Yes, please take a look at the “Progress Reporting and Cancellation” example for GemBox.Document:
https://www.gemboxsoftware.com/document/examples/progress-reporting-and-cancellation/108

The same feature is also available in GemBox.Spreadsheet as well:
https://www.gemboxsoftware.com/spreadsheet/examples/progress-reporting-and-cancellation/121

Unfortunately, this feature is currently not available in GemBox.Presentation and GemBox.Email.

Anyway, I hope this helps, let me know if you need anything else.

Regards,
Mario

Hi Mario,

this helps! Thank you, I will have a closer look on it.

Regards,
Sarah