VintaSoft Imaging .NET SDK v8.5
transformPointFromControlToScreen Method
Vintasoft.Imaging.Html5 Namespace > WebImageViewerJS type : transformPointFromControlToScreen Method
X coordinate in coordinate space of image viewer.
Y coordinate in coordinate space of image viewer.
Transforms point from coordinate space of image viewer to the browser (screen) coordinate space.
Syntax
var instance = new Vintasoft.Imaging.Html5.WebImageViewerJS(controlId);
var value; // Type: object

// Parameters
var x; // Type:  number
var y; // Type:  number

value = instance.transformPointFromControlToScreen(x, y);
function transformPointFromControlToScreen( 
   x : number,
   y : number
) : object;

Parameters

x
X coordinate in coordinate space of image viewer.
y
Y coordinate in coordinate space of image viewer.

Return Value

Point in browser (screen) coordinate space.
Browser Compatibility
9
5
11
5
See Also

Reference

WebImageViewerJS type