In This Topic
Zooms the viewer to the specified rectangle of current image.
Syntax
var instance = new Vintasoft.Imaging.UI.WebImageViewerJS(controlId);
var value; // Type: any
// Parameters
var destRect; // Type: object
value = instance.zoomToRectangle(destRect);
function zoomToRectangle(
: object
) : any;
Parameters
- destRect
- The destination rectangle in image space.
Exceptions
| Exception | Description |
| Thrown if argument has wrong type. |
Browser Compatibility
See Also