VintaSoft Imaging .NET SDK 12.4: Documentation for Web developer
Vintasoft.Imaging.Annotation.UI Namespace / WebAnnotationViewJS type / set_Location Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Location Method
    In This Topic
    Sets the location, in device-independent units (1/96th inch per unit), of annotation in the image space.
    Syntax
    var instance = new Vintasoft.Imaging.Annotation.UI.WebAnnotationViewJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var x; // Type: number
    var y; // Type: number
    
    returnValue = instance.set_Location(x, y);
    
    
    function set_Location(
    x
    Horizontal coordinate of annotation, in device-independent units (1/96th inch per unit). Default value is 0.
    : number,
    y
    Vertical coordinate of annotation, in device-independent units (1/96th inch per unit). Default value is 0.
    : number
    ) : any;

    Parameters

    x
    Horizontal coordinate of annotation, in device-independent units (1/96th inch per unit). Default value is 0.
    y
    Vertical coordinate of annotation, in device-independent units (1/96th inch per unit). Default value is 0.
    Exceptions
    ExceptionDescription
    Thrown if arguments have wrong types.
    Browser Compatibility
    56+
    45+
    11
    See Also