VintaSoft Imaging .NET SDK 15.0: Documentation for .NET developer
Vintasoft.Imaging.Dicom.Mpr Namespace / MprPerpendicularMultiSlice Class / GetSliceDistance(Int32) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
    GetSliceDistance(Int32) Method (MprPerpendicularMultiSlice)
    In This Topic
    Returns the distance to the specified slice.
    Syntax
    'Declaration
    
    Public Function GetSliceDistance( _
    ByVal sliceIndex
    The slice index.
    As System.Int32 _
    ) As Double
    public double GetSliceDistance(
    System.Int32 sliceIndex
    )
    public: double GetSliceDistance(
    System.Int32 sliceIndex
    )
    public:
    double GetSliceDistance(
    System.Int32 sliceIndex
    )

    Parameters

    sliceIndex
    The slice index.

    Return Value

    A distance to the slice.
    Exceptions
    ExceptionDescription
    Thrown if value is less than 0 or equal or more than SliceCount.
    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