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



layerName
Character string that contains the name of the layer.
layerName
Character string that contains the name of the layer.
Retrieves the index of the layer with the specified name.

Syntax

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

Parameters

layerName
Character string that contains the name of the layer.

Return Value

Layer index

Example

For an example, refer to DicomDataSet.CreateLayer.

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