"getShapeYCoordinate"

Returns the Y coordinate for the specified shape.

Synopsis

double getShapeYCoordinate(string strLayer, int iIndex);

Parameters

Parameter Description
strLayer The layer whose shape coordinate should be returned.
iIndex The index of the shape whose coordinate should be returned.

Description

Returns the Y coordinate for the specified shape.

Example

Returns the X and Y coordinates for the shape with the index 0 of the layer "EWO".

main()
{
  double x, y;
  DebugN("X: ", x = GisViewer_ewo1.getShapeXCoordinate("EWO", 0));
  DebugN("Y: ", y = GisViewer_ewo1.getShapeYCoordinate("EWO", 0));
}

Assignment

GIS Viewer