VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / TryGetViewerState(VintasoftImage,WpfImageViewerState) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    TryGetViewerState(VintasoftImage,WpfImageViewerState) Method (WpfImageViewer)
    In This Topic
    Tries get the viewer state for the specified image.
    Syntax
    'Declaration
    
    Public Function TryGetViewerState( _
    ByVal image
    The image.
    As Vintasoft.Imaging.VintasoftImage, _
    ByRef state
    The viewer state for the specified image.
    As WpfImageViewerState _
    ) As Boolean
    public: bool TryGetViewerState(
    Vintasoft.Imaging.VintasoftImage* image,
    [PARAMFLAG::Out] WpfImageViewerState* state
    )

    Parameters

    image
    The image.
    state
    The viewer state for the specified image.

    Return Value

    True if specified image displays in viewer; otherwise, false.
    Exceptions
    ExceptionDescription
    Thrown if image is null.
    Requirements

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

    See Also