VintaSoft Imaging .NET SDK v8.6
Vintasoft.Imaging.Annotation.Svg Namespace / WebAnnotationViewerJS type / transformPointFromControlToScreen Method
X coordinate in coordinate space of image viewer.
Y coordinate in coordinate space of image viewer.
In This Topic
    transformPointFromControlToScreen Method
    In This Topic
    Transforms point from coordinate space of image viewer to the browser (screen) coordinate space.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.Svg.WebAnnotationViewerJS(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
    15
    5
    See Also