VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI.UIElements Namespace / WebAnnotationViewerContextMenuJS type / set_AnnotationPropertiesCallback Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set_AnnotationPropertiesCallback Method
In This Topic
Sets a function, which will be called when "Annotation properties..." 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_AnnotationPropertiesCallback(value);

Parameters

value
A function, which will be called when "Annotation properties..." menu is selected.
Here is function prototype "function __showAnnotationPropertiesDialog(docViewer, focusedAnnotation)", where "docViewer" parameter is an instance of WebDocumentViewerJS class, "annotation" parameter is an instance of WebAnnotationViewJS type.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also