Zooms the view to the specified rectangle.
ImageViewer.prototype.zoomToRect = function(rect)
zoomToRect(rect: LeadRectD): void;
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