VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebDocumentViewerBaseJS type / registerVisualTool Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
registerVisualTool Method
In This Topic
Registers the visual tool type.
Syntax
var instance = new Vintasoft.Imaging.UI.WebDocumentViewerBaseJS(settings);

var value; // Type: any

// Parameters
var id; // Type: string
var visualTool; // Type: WebVisualToolJS

value = instance.registerVisualTool(id, visualTool);

Parameters

id
The identifier of visual tool type.
visualTool
WebVisualToolJS object.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if ID is empty string.
Thrown if document viewer contains standard registered tool with the same ID (WebDocumentViewerBaseJS.getAllStandardRegisteredVisualToolIds).
Browser Compatibility
56+
45+
11
See Also