VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.Wpf.UI Namespace / WpfMprPerpendicularMultiSliceView Class / GetPlanarSliceIndex(Double,Double,WpfImageViewer,Size) Method
Syntax Requirements SeeAlso
In This Topic
GetPlanarSliceIndex(Double,Double,WpfImageViewer,Size) Method (WpfMprPerpendicularMultiSliceView)
In This Topic
Returns an index of planar slice that belongs the specified point.
Syntax
'Declaration

Public Function GetPlanarSliceIndex( _
ByVal x
X coordinate of point in object space.
As Double, _
ByVal y
Y coordinate of point in object space.
As Double, _
ByVal imageViewer
The image viewer.
As Vintasoft.Imaging.Wpf.UI.WpfImageViewer, _
ByVal clientSize
The client size in object space.
As System.Windows.Size _
) As System.Nullable(Of Integer)

Parameters

x
X coordinate of point in object space.
y
Y coordinate of point in object space.
imageViewer
The image viewer.
clientSize
The client size in object space.

Return Value

The index of planar slice.
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