LEADTOOLS Medical (Leadtools.Dicom assembly)

GetElementLevel Method

Show in webframe







An item in the Data Set.
Returns a value that indicates the level at which the specified element is located within the Data Set.
Syntax
public int GetElementLevel( 
   DicomElement element
)
'Declaration
 
Public Function GetElementLevel( _
   ByVal element As DicomElement _
) As Integer
'Usage
 
Dim instance As DicomDataSet
Dim element As DicomElement
Dim value As Integer
 
value = instance.GetElementLevel(element)
public int GetElementLevel( 
   DicomElement element
)

            
public int getElementLevel(DicomElement element)
 function Leadtools.Dicom.DicomDataSet.GetElementLevel( 
   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:

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(String,DicomDataSetLoadFlags).
Requirements

Target Platforms

See Also

Reference

DicomDataSet Class
DicomDataSet Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Leadtools.Dicom requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features