VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / scrollToImagePoint Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
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);

Parameters

x
X coordinate in image coordinate space.
y
Y coordinate in image coordinate space.
Exceptions
ExceptionDescription
Thrown if arguments have wrong types.
Browser Compatibility
56+
45+
11
See Also