LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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. Supported in Silverlight, Windows Phone 7.

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: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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