"getLayerFieldName"
Returns the field name for the specified index in the specified layer.
Synopsis
string getLayerFieldName(string strLayer,int iIndex);
Parameters
Parameter | Description |
---|---|
strLayer | The layer whose field name should be returned. |
iIndex | The index of the field whose name should be returned. |
Description
Returns the field name for the specified index in the specified layer.
Example
The code will return the field name for the index 1 of the layer "COUNTRY".
main()
{
string Fn;
Fn = GisViewer_ewo1.getLayerFieldName("COUNTRY", 1);
DebugN("Field 0 of Layer country", Fn);
}
Assignment
GIS Viewer