Returns a value that indicates the level at which the specified element is located within the Data Set.
public int GetElementLevel(
DicomElement element
)
Public Function GetElementLevel( _
ByVal element As Leadtools.Dicom.DicomElement _
) As Integer
public int GetElementLevel(
Leadtools.Dicom.DicomElement element
)
public int getElementLevel(DicomElement element)
function Leadtools.Dicom.DicomDataSet.GetElementLevel(
element
)
public:
int GetElementLevel(
Leadtools.Dicom.DicomElement^ element
)
element
An item in the Data Set.
The level at which the specified element is located within the Data Set.
This method requires that the Data Set is evaluated as a tree. The following illustration gives an example:
If the passed object points to: | The method returns: |
---|---|
Item 1 | 0 |
Item 2 | 1 |
Item 3 | 2 |
For an example, refer to Load.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET