Xceed Toolkit Plus for WPF v5.0 Documentation
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.


In This Topic
    ZoomTo(Point) Method
    In This Topic
    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