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




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
)
Managed Extensions for 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 CreateLayer.

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