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

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: 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