"getNumObjectsLayer"

Returns the number of objects for the layer.

Synopsis

int getNumObjectsLayer(string sLayer);

Parameters

Parameter Description
sLayer The layer whose number of objects should be returned.

Description

Returns the layer name for the specified index.

Example

The code will return the number of objects for the layer "SHAPES".

main()
{
  int i;
  i = GisViewer_ewo1.getNumObjectsLayer("SHAPES");
  DebugN(i);
}

Assignment

GIS Viewer