VintaSoft Twain .NET SDK 15.4: Documentation for Web developer
Vintasoft.Shared Namespace / WebImageCollectionJS type / set Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
set Method
In This Topic
Sets information about the specified image.
Syntax
var instance = new Vintasoft.Shared.WebImageCollectionJS();

var value; // Type: any

// Parameters
var index; // Type: number
var image; // Type: WebImageJS
var commandName; // Type: string

value = instance.set(index, image, commandName);

Parameters

index
The zero-based index of image, which should be changed.
image
New WebImageJS at the specified index.
commandName
The name of the image processing command that sets this image.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Thrown if index is less than zero or index is equal to or greater than collection length.
Thrown if image already exists in collection.
Browser Compatibility
9
See Also