Free Support Forum -

Cancel opening file



I’m working with GroupDocs.Annotation for Java. For opening a PDF or MS Office file, I’m calling Javascript $(‘widget_name’).groupdocsAnnotation({}) passing parameters for the function.

But when opening big files, with too much text or pages, this operation can take a long time, so I want to give to the user a opportunity to cancel the file logading (PDF, MS Office). Just hiding the DIV is not an option, since the file will be loading on background.

How can I cancel opening a file on GroupDocs.Annotation?


Thank you for your inquiry.

Unfortunately, the current version of the GroupDocs.Annotation for Java library doesn't support this functional. But at the moment our Product team works on the new generation of this library and if this will be possible we will add such feature.

If you will have more questions please feel free to contact us.


Best regards,
Evgen Efimov
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+