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