Xceed Toolkit Plus for WPF v4.6 Documentation
ZoomTo(Rect) Method


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class > ZoomTo Method : ZoomTo(Rect) Method
The desired rectangular region. This Rect is specified in the coordinate space of the content.
Zooms the content to a given region.  
Syntax
'Declaration
 
Public Overloads Sub ZoomTo( _
   ByVal region As Rect _
) 
'Usage
 
Dim instance As Zoombox
Dim region As Rect
 
instance.ZoomTo(region)
public void ZoomTo( 
   Rect region
)

Parameters

region
The desired rectangular region. This Rect is specified in the coordinate space of the content.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Zoombox Class
Zoombox Members
Overload List