Just like GroupDocs Viewer, how to initialize and destroy Group Docs Annotation Control using client side code ?
In GroupDocs Viewer we can initialize it by following code
var viewer = $(’#attachment-viewer’);
viewer.groupdocsViewer({
zoomToFitWidth: false,
showZoom: true,
showFolderBrowser: false,
showHeader: true,
showPaging: true,
useHtmlBasedEngine: false,
quality: 100,
zoom:1000,
showDocumentNavigation: true,
printWithWatermark: true,
enableStandardErrorHandling: false,
preloadPagesCount: 1,
});
In GroupDocs Viewer we can load document by following client side code
var viewer = $(’#attachment-viewer’);
viewer.groupdocsViewer(“loadDocument”, result.filepath);
In GroupDocs Viewer we can unload or destroy component by following client side code
var viewer = $(’#attachment-viewer’);
viewer.groupdocsViewer(“destroy”);
So please provide any mechanism to initialize,load and destroy annotation from client side code.
I have GroupDocs Total License and I am using version 17.7.0
Thanks,
Jayesh Dharade