←Select platform

Sort(List<MedicalViewerImageData>,MedicalViewerSortCriteria) Method

Summary

Sorts the input list of data based on various values stored inside them.

Syntax

C#
VB
C++
public bool Sort(  
   List<MedicalViewerImageData> inputList, 
   Leadtools.Medicalviewer.MedicalViewerSortCriteria sortCriteria 
) 
Public Overloads Function Sort( _ 
   ByVal inputList As List(Of MedicalViewerImageData), _ 
   ByVal sortCriteria As Leadtools.Medicalviewer.MedicalViewerSortCriteria _ 
) As Boolean 
public: 
bool Sort(  
   List<MedicalViewerImageData^>^ inputList, 
   Leadtools.Medicalviewer.MedicalViewerSortCriteria sortCriteria 
) 

Parameters

inputList
A list of MedicalViewerImageData that will be stored.

sortCriteria
The criteria to follow when sorting the frames.

Remarks
  • If sortCriteria is set to Acquisition time, then the method will sort the frames based on the AcquisitionTime data. Otherwise, the method will sort the list based on

    • Image position
    • Image orientation
    • Echo number
    • Instance number
    • Frame of reference UID

    For a successful sorting, it is important to have the data properly filled in.

  • If the sort fails for any reason, it returns false.

Example

For an example, refer to MedicalViewerSeriesStack

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MedicalViewer Assembly
Click or drag to resize