VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr.UI Namespace / MprPerpendicularMultiSliceView Class / GetPlanarSliceIndex(Single,Single,ImageViewer,SizeF) Method
Syntax Requirements SeeAlso
In This Topic
GetPlanarSliceIndex(Single,Single,ImageViewer,SizeF) Method (MprPerpendicularMultiSliceView)
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 Single, _
ByVal y
Y coordinate of point in object space.
As Single, _
ByVal imageViewer
The image viewer.
As Vintasoft.Imaging.UI.ImageViewer, _
ByVal clientSize
The client size in object space.
As System.Drawing.SizeF _
) 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