Quantcast
Channel: DotSpatial
Viewing all articles
Browse latest Browse all 3973

New Post: A sample code for add symbology to layer

$
0
0
Hey am2,

have a look, whether this works for you:
 PolygonSymbolizer PS = New PolygonSymbolizer();
 PS.SetFillColor(Color.LightBlue);
 PS.SetOutline(outlineColor, outlineWidth);
 lay.Symbolizer = PS;
I'm not sure whether you need the lay.Symbology.ClearCategories(); or not.

Viewing all articles
Browse latest Browse all 3973


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>