←Select platform

GetElementLevel Method

Summary

Returns a value that indicates the level at which the specified element is located within the Data Set.

Syntax

C#
VB
Java
WinRT C#
C++
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 
)  

Parameters

element
An item in the Data Set.

Return Value

The level at which the specified element is located within the Data Set.

Remarks

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
Example

For an example, refer to Load.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly