Leadtools.Silverlight.Controls Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
ZoomToRectangle Method
See Also 
Leadtools.Silverlight.Controls Namespace > ImageViewer Class : ZoomToRectangle Method



rc
The rectangle to which the image should be zoomed, in client coordinates.
rc
The rectangle to which the image should be zoomed, in client coordinates.
Zooms the image to the specified rectangle.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub ZoomToRectangle( _
   ByVal rc As Rect _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim rc As Rect
 
instance.ZoomToRectangle(rc)
C# 
public virtual void ZoomToRectangle( 
   Rect rc
)
C++/CLI 
public:
virtual void ZoomToRectangle( 
   Rect rc
) 

Parameters

rc
The rectangle to which the image should be zoomed, in client coordinates.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

ZoomToRectangle requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features