VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.Wpf.UI Namespace / WpfMprVisualizationController Class / CalculateZoomForViewSliceOnBestFit(MprImage,MprSlice,WpfImageViewer) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
CalculateZoomForViewSliceOnBestFit(MprImage,MprSlice,WpfImageViewer) Method (WpfMprVisualizationController)
In This Topic
Calculates the zoom for viewing slice in the best fit mode.
Syntax

Parameters

mprImage
The MPR image.
slice
The MPR slice.
viewer
The image viewer.

Return Value

The zoom for viewing slice in the best fit mode.
Exceptions
ExceptionDescription
Thrown if slice or viewer is null.
Thrown if slice has unknown type.
Requirements

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

See Also