"setLayerLineWidth"

Sets the layer line width. The line width be also set using the function "setLayerLineStyle". The defined width in "setLayerLineStyle" overwrites the width in this function.

Synopsis

void setLayerLineWidth(string strLayer, int iWidth);

Parameters

Parameter Description
strLayer Name of the layer
iWidth The width to be set

Description

Sets the layer line width. The line width be also set using the function "setLayerLineStyle". The defined width in "setLayerLineStyle" overwrites the width in this function.

Example

Sets the layer line width of the layer "rivers" to 2.

main()
{
  GisViewer_ewo1.setLayerLineWidth("rivers", 2);
}

Assignment

GIS Viewer