"setLayerLineStyle"

Sets the layer line style.

Synopsis

void setLayerLineStyle(string strLayer, string iStyle);

Parameters

Parameter Description
strLayer Name of the layer
iStyle The style to be set. See Line-type string.

Description

Sets the layer line style.

Example

The code sets the layer line style to solid, single-color with 4-point thickness, sharp corners, shortened.

main()
{
  GisViewer_ewo1.setLayerLineStyle("rivers","[solid,oneColor,JoinMiter,CapNotLast,4]");
}

Assignment

GIS Viewer