In This Topic
Sets the current visual tool of the viewer.
Syntax
var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationViewerJS(controlId);
var returnValue; // Type: any
// Parameters
var tool; // Type: WebVisualToolJS
returnValue = instance.set_VisualTool(tool);
function set_VisualTool(
: WebVisualToolJS
) : any;
Parameters
- tool
- WebVisualToolJS object. Default value is AnnotationVisualTool value.
Exceptions
Exception | Description |
| Thrown if specified visual tool contains an annotation visual tool that differs from the AnnotationVisualTool value. |
Browser Compatibility
See Also