VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.Wpf.UI Namespace / WpfMprVisualizationController Class / ShowSliceInViewer Methods / ShowSliceInViewer(WpfImageViewer,MprSlice,Boolean) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    ShowSliceInViewer(WpfImageViewer,MprSlice,Boolean) Method (WpfMprVisualizationController)
    In This Topic
    Shows the specified MPR slice in image viewer.
    Syntax
    'Declaration
    
    Public Overloads Sub ShowSliceInViewer( _
    ByVal viewer
    The image viewer, which should show the MPR slice.
    As Vintasoft.Imaging.Wpf.UI.WpfImageViewer, _
    ByVal slice
    The MPR slice.
    As Vintasoft.Imaging.Dicom.Mpr.MprSlice, _
    ByVal showSliceInBestFit
    A value indicating whether viewer must show MPR slice in the best fit mode.
    As Boolean _
    )

    Parameters

    viewer
    The image viewer, which should show the MPR slice.
    slice
    The MPR slice.
    showSliceInBestFit
    A value indicating whether viewer must show MPR slice in the best fit mode.
    Exceptions
    ExceptionDescription
    Thrown if MPR slice can not be shown in specified image viewer.
    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