←Select platform

GetLayerIndex Method

Summary

Retrieves the index of the layer with the specified name.

Syntax
C#
VB
C++
public int GetLayerIndex( 
   string layerName 
) 
Public Function GetLayerIndex( _ 
   ByVal layerName As String _ 
) As Integer 
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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Dicom Assembly