VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewControllerJS type / annotationCollectionException Event
Syntax BrowserCompatibility SeeAlso
In This Topic
    annotationCollectionException Event (WebAnnotationViewControllerJS)
    In This Topic
    Occurs when annotation controller was not able to apply action (serialization, deserialization) to the annotation collection.
    Syntax
    var instance; // Type: WebAnnotationViewControllerJS
    instance.annotationCollectionException = function(event) { }
    
    
    annotationCollectionException = 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 has the following properties:
    • action (string): The name of action, which was failed.
    • index (number): Zero-based index of annotation collection in annotation controller.
    • response (object): Response from server.
    : 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. Object has the following properties:
    • action (string): The name of action, which was failed.
    • index (number): Zero-based index of annotation collection in annotation controller.
    • response (object): Response from server.
    Browser Compatibility
    56+
    45+
    11
    See Also