Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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