VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation Namespace / WebAnnotationViewCollectionJS type / changing Event
JQuery event.
Object that contains event arguments. Object has the following properties:
In This Topic
    changing Event
    In This Topic
    Occurs when annotation collection is changing.
    Syntax
    var instance; // Type: WebAnnotationViewCollectionJS
    instance.changing = function(event, eventArgs) { };
    changing = function ( 
       event : object,
       eventArgs : object
    ) { };

    Parameters

    event
    JQuery event.
    eventArgs
    Object that contains event arguments. Object has the following properties:
    • actionName (string): Action name. Supported values: "clear", "insert", "set", "move", "remove", "swap".
    • annotation (object): Annotation. Property is defined for actions "insert", "set", "move", "remove".
    • previousAnnotation (object): Previous annotation. Property is defined for action "set".
    • index (number): Zero-based index of annotation for inserting/removing/setting of annotation. Property is defined only for actions "insert", "set" and "remove".
    • firstIndex (number): Zero-based index of the first annotation after swapping of annotations. Property is defined only for the action "swap".
    • secondIndex (number): Zero-based index of the second annotation after swapping of annotations. Property is defined only for the action "swap".
    • previousIndex (number): Zero-based index of annotation before moving of annotation. Property is defined only for the action "move".
    • currentIndex (number): Zero-based index of annotation after moving of annotation. Property is defined only for the action "move".
    • annotations (object): Array that contains all annotations from collection. Property is defined for action "clear".
    Requirements

    Target Platforms: Windows 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

    See Also