VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / setFocusedIndexAsync Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
setFocusedIndexAsync Method
In This Topic
Sets the index of focused image.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var value; // Type: any

// Parameters
var value; // Type: number
var successFunc; // Type: function

value = instance.setFocusedIndexAsync(value, successFunc);

Parameters

value
New index of focused image.
successFunc
Function that will be executed when the new focused image is displayed.
Exceptions
ExceptionDescription
Thrown if viewer is initializing.
Thrown if the previous method call has not been completed yet.
Thrown if argument has wrong type.
Thrown if index is less than zero or index is equal to or greater than image collection length.
Browser Compatibility
56+
45+
11
See Also