VintaSoft Imaging .NET SDK v8.5
changing Event
Vintasoft.Shared Namespace > WebImageCollectionJS type : changing Event
Action name. Supported values: "clear", "insert", "insertRange", "removeAt", "removeRange", "set".
Zero-based image index in collection. Property is defined 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 changing.
Syntax
var instance; // Type: WebImageCollectionJS
instance.changing = function(actionName, imageIndex, imagesIndexes, image, images, previousImage) { };
changing = 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. Property is defined 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 10, Windows 8, Windows 7, Windows Vista, Windows XP, Windows Server 2012, Windows Server 2008, Windows Server 2003

See Also

Reference

WebImageCollectionJS type