VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Pdf.UI.VisualTools Namespace / WebPdfImageExtractorToolJS type / initializationException Event
Syntax Remarks BrowserCompatibility SeeAlso
In This Topic
    initializationException Event (WebPdfImageExtractorToolJS)
    In This Topic
    Occurs when the visual tool initialization is failed.
    Syntax
    var instance; // Type: WebPdfImageExtractorToolJS
    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

    WebPdfImageExtractorToolJS fires this event in the following situations:

    • Request for getting all image resources associated with specified PDF page was failed. In this case eventArgs will have the following parameters:
      • description (string): "Get content images" string constant.
      • errorMessage (string): Error message.
      • page (object): An instance of WebPdfPageJS class.
      • image (object): The WebImageJS object, from image viewer collection, which is associated with WebPdfPageJS object.

    Browser Compatibility
    56+
    45+
    11
    See Also