In This Topic
Scrolls the image viewer to the specified point on image viewer.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
var value; // Type: any
// Parameters
var x; // Type: number
var y; // Type: number
value = instance.scrollTo(x, y);
function scrollTo(
: number,
: number
) : any;
Parameters
- x
- X coordinate in coordinate space of client area of image viewer.
- y
- Y coordinate in coordinate space of client area of image viewer.
Exceptions
Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also