VintaSoft Imaging .NET SDK 10.1 for Web
Vintasoft.Imaging.Pdf.UI.VisualTools Namespace / WebPdfImageExtractorToolJS type / initializationException Event
Object that contains information about event. Object has the following properties:
Object that contains event arguments.
In This Topic
    initializationException Event
    In This Topic
    Occurs when the visual tool initialization is failed.
    Syntax
    var instance; // Type: WebPdfImageExtractorToolJS
    instance.initializationException = function(event, eventArgs) { };
    initializationException = function ( 
       event : object,
       eventArgs : object
    ) { };

    Parameters

    event
    Object that contains information about event. Object has the following properties:
    • target (object): Object that raises event.
    • type (string): Event name.
    • data (object): Object that contains data, which were specified during 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.
    Requirements

    Target Platforms: .NET 5; .NET Core 3.1; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also