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);
function set_AnnotationPropertiesCallback(
: Function
) : any;
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
Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also