VintaSoft Imaging .NET SDK 14.0: Documentation for Web developer
Vintasoft.Imaging.UI Namespace / WebImageViewerJS type / set_Zoom Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    set_Zoom Method
    In This Topic
    Sets the image zoom in the viewer.
    Syntax
    var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: number
    
    returnValue = instance.set_Zoom(value);
    
    
    function set_Zoom(
    value
    New image zoom. Valid values are from 1 to 1000. Default value is 100.
    : number
    ) : any;

    Parameters

    value
    New image zoom. Valid values are from 1 to 1000. Default value is 100.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Thrown if zoom is less than 1 or zoom is greater than 1000.
    Browser Compatibility
    56+
    45+
    11
    See Also