Polygon properties

Jun 17, 2015 at 5:42 PM
Edited Jun 17, 2015 at 7:29 PM
I'm drawing a polygon in a in-memory shapefile and want to set some properties like the fill color and transparency.

I have read that I can use properties like ShapeDrawFill, ShapeFillColor, ShapeLayerFillColor and a few more but I can't find them under any object.

this is an example property I can't find:
http://www.mapwindow.org/documentation/mapwingis4.9/group__map__shapefile.html#gaed06c5f6d36eb67ca5e2b4d071167e33

Thanks.
Developer
Jun 18, 2015 at 9:53 AM
It's generally recommended to use ShapeDrawingOptions / categories to do it, since it's more recent and flexible API. Section 3 here demonstrates how to set options common for all polygons. And sections 6,7 show the use of categories to change appearance of individual polygons (you need to create a category first and then to assign it to certain set of polygons).

Hope it helps,
Sergei
Marked as answer by selad on 6/18/2015 at 3:56 AM
Jun 18, 2015 at 10:57 AM
@sleschinski It does help, thanks.