Zooms the view to the specified rectangle.
ImageViewer.prototype.zoomToRect = function(
The rectangle in control coordinates.
The control will use Zoom and change ScrollOffset (and optionally, the scrollbars) according to the value passed. Therefore, this method will follow the same rules governing the minimum and maximum values of ScrollOffset.
ImageViewerZoomToInteractiveMode uses this method to perform its action.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries