"getShapeNameInLayer"

Returns the shape name in a layer.

Synopsis

string getShapeNameInLayer(string strLayer, int iFieldIndex, int iShapeIndex);

Parameters

Parameter Description
strLayer The layer
iFieldIndex The field index of the shape. Starts at 0.
iShapeIndex The shape index. Starts at 0.

Description

Returns the shape name in a layer.

Example

Returns the shape name with the field and shape index 0 of the layer EWO.

main()
{
  string sN;
  sN=GisViewer_ewo1.getShapeNameInLayer("EWO", 0, 0);
  DebugN(sN);
}

Assignment

GIS Viewer