Sort Method

Summary
Sorts the input list of data based on various values stored inside the data.
Syntax
C#
VB
C++
public bool Sort( 
   List<DicomSortImageData> inputList 
) 
  
Public Overloads Function Sort( _ 
   ByVal inputList As List(Of DicomSortImageData) _ 
) As Boolean 
            public: 
bool Sort(  
   List<DicomSortImageData^>^ inputList 
)  

Parameters

inputList
A list of DicomSortImageData that will be sorted.

Remarks
  • The method will sort the list based on
    • Image position
    • Image orientation
    • Echo number
    • Instance number
    • Frame of reference UID

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

If the sort fails for any reason, it will return false.

Example

For an example, refer to DicomSortSeriesStack

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom.Common Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.