Aspose words for java terminate

Question: I want to terminate a conversion task that has been running for 1 hour without any result. Is there a method available? ‘
Version: 23.6
JDK: 11

@Rivan You can use IDocumentSavingCallback to control document saving process.

You can consider using IPageLayoutCallback for interrupting layout process, for example if you need to render only the first page of the document.

Also, the code provided in this thread might be useful for you.

OK,Thank you

1 Like