"moveRectangle"

Moves a rectangle.

Synopsis

void moveRectangle(string strLayer, string strShape, double dX1, double dY1, double dX2, double dY2);

Parameters

Parameter Description
strLayer The layer of the rectangle
strShape The rectangle that should be moved.
dX1

The coordinates the rectangle should be moved to:

The first X coordinate

dY1 The first Y coordinate
dX2 The second X coordinate
dY2 The second Y coordinate

Description

Moves a rectangle.

Example

Moves a rectangle to the position -15,-36 and 43, 35.

main()
{
  GisViewer_ewo1.moveRectangle("SHAPES", "MYRECT",-15.0,-36.0,43.0,35.0);
}

Assignment

GIS Viewer