set_AddAnnotationCommentCallback Method
In This Topic
Sets 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 returnValue; // Type: any
// Parameters
var value; // Type: function
returnValue = instance.set_AddAnnotationCommentCallback(value);
function set_AddAnnotationCommentCallback(
: Function
) : any;
Parameters
- 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.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also