Error processing SSI file
LEADTOOLS JavaScript (Leadtools.Controls)

ZoomToRect Method

Show in webframe
The rectangle in control coordinates.
Zooms the view to the specified rectangle.
Syntax
 function Leadtools.Controls.ImageViewer.zoomToRect( 
   rect 
)

Parameters

ParameterTypeDescription
rectLeadRectDThe rectangle in control coordinates.
Remarks

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.

See Also

Reference

ImageViewer Object
ImageViewer Members

Error processing SSI file