←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
C++
Java
public int GetElementLevel( 
   DicomElement element 
) 
Public Function GetElementLevel( _ 
   ByVal element As DicomElement _ 
) As Integer 
public int getElementLevel(DicomElement element) 
public: 
int GetElementLevel(  
   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:

getlevel.gif
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

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