VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.UIElements Namespace / WebAnnotationViewerContextMenuJS type / get_AddAnnotationCommentCallback Property
Syntax BrowserCompatibility SeeAlso
In This Topic
get_AddAnnotationCommentCallback Method
In This Topic
Gets a function, which will be called when "Add annotation comment..." menu is selected.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.UIElements.WebAnnotationViewerContextMenuJS(imageViewer, settings);

var value; // Type: function
value = instance.get_AddAnnotationCommentCallback();

Return Value

A function, which will be called when "Add annotation comment..." menu is selected.
Here is function prototype "function __showAddAnnotationCommentDialog(docViewer, focusedAnnotation)", where "docViewer" parameter is an instance of WebDocumentViewerJS class, "annotation" parameter is an instance of WebAnnotationViewJS type.
Browser Compatibility
56+
45+
11
See Also