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(
: number
) : any;
Parameters
- value
- New image zoom. Valid values are from 1 to 1000. Default value is 100.
Exceptions
Exception | Description |
| Thrown if argument has wrong type. |
| Thrown if zoom is less than 1 or zoom is greater than 1000. |
Browser Compatibility
See Also