"setShapeFillColor"
Sets the fill color for a shape.
Synopsis
void setShapeFillColor(string strLayer, string strField, string
strShape,stringlColor);
Parameters
| Parameter | Description |
|---|---|
| strLayer | The layer of the shape. |
| strField | The shape field of the layer. |
| strShape | The name of the shape whose fill color should be set. |
| lColor | The color that should be set. See Color string. |
Description
Sets the fill color for a shape.
Example
Sets the fill color of shape "MYRECT" to orange.
main()
{
GisViewer_ewo1.setShapeFillColor("SHAPES", "NAME", "MYRECT", "{255,102,0}");
}
Assignment
GIS Viewer