VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI.VisualTools Namespace / WebTextSelectionToolJS type / initializationException Event
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
    initializationException Event (WebTextSelectionToolJS)
    In This Topic
    Occurs when the visual tool initialization is failed.
    Syntax
    var instance; // Type: WebTextSelectionToolJS
    instance.initializationException = function(event) { }
    
    
    initializationException = function (
    event
    Object that contains information about event. Object has the following properties:
    • target (object): An object that raised the event.
    • type (string): Event name.
    • data (object): An object that contains data, which were specified when subscribing to the event.
    • originalEvent (object): Original event if event was received from DOM-element.
    : object
    eventsArgs
    Object that contains event arguments.
    : object
    ) { };

    Parameters

    event
    Object that contains information about event. Object has the following properties:
    • target (object): An object that raised the event.
    • type (string): Event name.
    • data (object): An object that contains data, which were specified when subscribing to the event.
    • originalEvent (object): Original event if event was received from DOM-element.
    eventArgs
    Object that contains event arguments.
    Remarks

    WebTextSelectionToolJS fires this event in the following situations:

    • Request for getting information about text region of specified image was failed. In this case eventArgs will have the following parameters:
      • description (string): "Get text region" string constant.
      • errorMessage (string): Error message.
      • image (object): The WebImageJS object, from image viewer collection.

    Browser Compatibility
    56+
    45+
    11
    See Also