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


Xceed.Wpf.Toolkit Assembly > Xceed.Wpf.Toolkit.Zoombox Namespace > Zoombox Class > ZoomTo Method : ZoomTo(Point) Method
The desired top-left point of the content. This position is expressed in the coordinate space of the Zoombox control, not the content.
Pans the content to the given position without changing its scale.
Syntax
'Declaration
 
Public Overloads Sub ZoomTo( _
   ByVal position As Point _
) 
'Usage
 
Dim instance As Zoombox
Dim position As Point
 
instance.ZoomTo(position)
public void ZoomTo( 
   Point position
)

Parameters

position
The desired top-left point of the content. This position is expressed in the coordinate space of the Zoombox control, not 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