VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / GetImageRect(VintasoftImage,Rect,Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetImageRect(VintasoftImage,Rect,Boolean) Method (WpfImageViewer)
    In This Topic
    Returns the rectangle of specified image.
    Syntax

    Parameters

    image
    The image.
    rect
    System.Windows.Rect on the image.
    useCurrentZoom
    A value indicating whether to use the image in current scale.

    Return Value

    Rectangle of focused image or null.
    Exceptions
    ExceptionDescription
    Thrown if rect is not fully contained within the image rectangle.
    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