Hi.
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?