Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
GetLayerElementByIndex Method
See Also 
Leadtools.Dicom Namespace > DicomDataSet Class : GetLayerElementByIndex Method



layerIndex
The zero-based index of the graphic layer whose item element is required.
layerIndex
The zero-based index of the graphic layer whose item element is required.
Gets the item element of the specified graphic layer.

Syntax

Visual Basic (Declaration) 
Public Function GetLayerElementByIndex( _
   ByVal layerIndex As Integer _
) As DicomElement
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim layerIndex As Integer
Dim value As DicomElement
 
value = instance.GetLayerElementByIndex(layerIndex)
C# 
public DicomElement GetLayerElementByIndex( 
   int layerIndex
)
C++/CLI 
public:
DicomElement^ GetLayerElementByIndex( 
   int layerIndex
) 

Parameters

layerIndex
The zero-based index of the graphic layer whose item element is required.

Return Value

The item element of the specified graphic layer.

Example

For an example, refer to DicomDataSet.CreateLayer.

Remarks

This method gets the item element under the "Graphic Layer Sequence" (0070,0060), which corresponds, to the layer at the specified index.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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