"getLayerName"

Returns the layer name for the specified index.

Synopsis

string getLayerName(int iIndex);

Parameters

Parameter Description
iIndex The index of the layer whose name should be returned.

Description

Returns the layer name for the specified index.

Example

The code below will return the name of the layer with the index 2. Note that the index starts at 0.

main()
{
  string lN;
  int iIndex = 2;
  lN = GisViewer_ewo1.getLayerName(iIndex);
  DebugN("Layer name, layer 1:", lN);
}

Assignment

GIS Viewer