getThumbnailCanvas Method
In This Topic
Returns the canvas of specified thumbnail.
Syntax
var instance = new Vintasoft.Imaging.UI.WebThumbnailViewerJS(controlId);
var value; // Type: object
// Parameters
var index; // Type: number
value = instance.getThumbnailCanvas(index);
function getThumbnailCanvas(
: number
) : object;
Parameters
- index
- Zero-based index of image in image collection.
Return Value
Canvas of specified thumbnail.
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if index is less than zero or index is greater than image collection length. |
Browser Compatibility
See Also