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);
function set(
: number,
: WebImageJS,
commandNameThe name of the image processing command that sets this image.
: string
) : any;
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
| Exception | Description |
| 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
See Also