"updateShapeAndAutoZoom"
Updates a shape with a color and zooms it in.
Synopsis
void updateShapeAndAutoZoom(string strLayer, string strField, string
strShape, string strColorLow, string strColorMedium, string
strColorHigh);
Parameters
Parameter | Description |
---|---|
strLayer | The layer of the shape. |
strField | The shape field of the layer. |
strShape | The name of the shape. |
strColorLow | The low priority alarm color if you use dpConnect and there is a low priority alarm, and then call updateShapeAndAutoZoom, the color of the low priority alarm will be used. |
strColorMedium | The medium priority alarm color. |
strColorHigh | If you use dpconnect, the shape will automatically assume the highest alarm color. |
Description
Updates a shape with a color and zooms it in.
Example
The code below will update the capital of Austria "Vienna" with the color red and zoom it in.
main()
{
GisViewer_ewo1.updateShapeAndAutoZoom("COUNTRY", "CAPITAL",
"Vienna", "Green","Gelb", "rot");
}
Assignment
GIS Viewer