Parameters
- id
- The identifier of visual tool type.
- visualTool
- WebVisualToolJS object.
| Exception | Description |
|---|---|
| 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). |