VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / ChangeZoomRelativeFocusedImage(Double,Point) Method
Syntax Requirements SeeAlso
In This Topic
    ChangeZoomRelativeFocusedImage(Double,Point) Method (WpfImageViewer)
    In This Topic
    Changes the viewer zoom and saves focus point on focused image.
    Syntax
    'Declaration
    
    Public Sub ChangeZoomRelativeFocusedImage( _
    ByVal newZoom
    Zoom value.
    As Double, _
    ByVal imageFocusPoint
    Focus point in the focused image space.
    As System.Windows.Point _
    )
    public void ChangeZoomRelativeFocusedImage(
    double newZoom,
    System.Windows.Point imageFocusPoint
    )
    public: void ChangeZoomRelativeFocusedImage(
    double newZoom,
    System.Windows.Point imageFocusPoint
    )
    public:
    void ChangeZoomRelativeFocusedImage(
    double newZoom,
    System.Windows.Point imageFocusPoint
    )

    Parameters

    newZoom
    Zoom value.
    imageFocusPoint
    Focus point in the focused image space.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also