VintaSoft Imaging .NET SDK 15.2: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / setFocusedIndexByLocation Property
Syntax BrowserCompatibility SeeAlso
In This Topic
setFocusedIndexByLocation Method
In This Topic
Changes the FocusedIndex property to the index of image, which is located in specified point.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);

var value; // Type: boolean

// Parameters
var location; // Type: object
var disableAutoScrollToPage; // Type: boolean

value = instance.setFocusedIndexByLocation(location, disableAutoScrollToPage);

Parameters

location
The point in the coordinate space of client area of image viewer.
disableAutoScrollToPage
Indicates that viewer should not scroll to the foused page automatically.

Return Value

Returns true if focused index is changed; otherwise, false.
Browser Compatibility
56+
45+
11
See Also