In This Topic
Creates visual tool by ID of the visual tool type.
Syntax
var instance = new Vintasoft.Imaging.UI.VisualTools.WebVisualToolFabricJS();
var value; // Type: Vintasoft.Imaging.UI.VisualTools.WebVisualToolJS
// Parameters
var id; // Type: string
value = instance.createToolById(id);
Parameters
- id
- The ID of the visual tool type.
Return Value
An instance of
WebVisualToolJS class.
Exceptions
| Exception | Description |
| Thrown if WebVisualToolJS element with specified ID is not found. |
| Thrown if factory created an instance, which is not derived from WebVisualToolJS class. |
Browser Compatibility
See Also