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);
function setFocusedIndexByLocation(
locationThe point in the coordinate space of client area of image viewer.: object,
disableAutoScrollToPageIndicates that viewer should not scroll to the foused page automatically.: boolean
) : boolean;
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.