border color/width of teepolygon in mapseries
border color/width of teepolygon in mapseries
I am successfully adding polygons to a map series at run-time in the same way as in your example code. I can set the color of the inside of the polygons at run-time but not the border color. The design-time editor allows the changing of the individual polygon border properties (color,width,style) but there does not appear to be run-time access to these properties. I tried changing the polygon Pen properties but this doesn't do anything. What am I missing?
Hi,
you can do:
you can do:
Code: Select all
Series1.Pen.Visible:=false;
Series1.Polygon[0].ParentPen:=false;
Series1.Polygon[0].Pen.Color:=clyellow;
Series1.Polygon[1].ParentPen:=false;
Series1.Polygon[1].Pen.Color:=clred;
Pep Jorge
http://support.steema.com
http://support.steema.com