VintaSoft Imaging .NET SDK 15.2: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / ZoomToRectangle(Rect) Method
Syntax Requirements SeeAlso
In This Topic
ZoomToRectangle(Rect) Method (WpfImageViewer)
In This Topic
Zooms the viewer to the specified rectangle of current image.
Syntax
'Declaration

Public Sub ZoomToRectangle( _
ByVal destRect
The destination rectangle in image space.
As System.Windows.Rect _
)
public void ZoomToRectangle(
System.Windows.Rect destRect
)

Parameters

destRect
The destination rectangle in image space.
Requirements

Target Platforms: .NET 11; .NET 10; .NET 9; .NET 8; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also