VintaSoft Twain .NET SDK v10.2
changed Event
Vintasoft.Shared Namespace > WebImageCollectionJS type : changed Event
Action name. Supported values: "clear", "insert", "insertRange", "removeAt", "removeRange", "set".
Zero-based image index in collection. This property is undefined for actions "insert", "insertRange", "removeAt" and "set".
Indexes of images, that must be removed. Property is defined for action "removeRange".
Image, which must be inserted/removed/set. Property is defined for actions "insert" and "set".
Images, which must be inserted/removed. Property is defined for actions "insertRange" and "removeRange".
Previous image. Property is defined for action "set".
Occurs when image collection is changed.
Syntax
var instance; // Type: WebImageCollectionJS
instance.changed = function(actionName, imageIndex, imagesIndexes, image, images, previousImage) { };
changed = function ( 
   actionName : string,
   imageIndex : number,
   imagesIndexes : object,
   image : object,
   images : object,
   previousImage : object
) { };

Parameters

actionName
Action name. Supported values: "clear", "insert", "insertRange", "removeAt", "removeRange", "set".
imageIndex
Zero-based image index in collection. This property is undefined for actions "insert", "insertRange", "removeAt" and "set".
imagesIndexes
Indexes of images, that must be removed. Property is defined for action "removeRange".
image
Image, which must be inserted/removed/set. Property is defined for actions "insert" and "set".
images
Images, which must be inserted/removed. Property is defined for actions "insertRange" and "removeRange".
previousImage
Previous image. Property is defined for action "set".
Requirements

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

See Also

Reference

WebImageCollectionJS type