←Select platform

ZoomToRect Method

Summary

Zooms the image to the specified rectangle.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual void ZoomToRect(  
   Rect rect 
) 
Public Overridable Sub ZoomToRect( _ 
   ByVal rect As Rect _ 
) 
public virtual void ZoomToRect(  
   Rect rect 
) 
- (void)zoomToRect:(CGRect)rect;
public void zoomToRect(RectF rect)
function Leadtools.Controls.ImageViewer.ZoomToRect(  
   rect  
) 

Parameters

rect
The rectangle, in control coordinates, that the image will zoom to.

Remarks

ImageViewerZoomToInteractiveMode uses this method.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls Assembly
Click or drag to resize