Zooms the view to the specified rectangle.
Public Overridable Sub ZoomToRect(
ByVal _rect_ As LeadRectD
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