Zooms the view to the specified rectangle.
ImageViewer.prototype.zoomToRect = function(rect)
zoomToRect(rect: LeadRectD): void;
rect
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.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET