DotDensityRenderer?

Sep 26, 2006 at 11:30 AM
Hi,

is it posible to create a map with a dot density. I have a Polygon Shape with a value field (no coordinates for every value). Is it possible to create dots per value?

Detlef?

Coordinator
Sep 27, 2006 at 11:26 PM
Hi,

A quick approach would be to use the hatchstyle class like this:

HatchStyle hs = HatchStyle.DottedDiamond; //change this to your needs
myShapeLayer.Style.Fill = new HatchBrush(hs,Color.Blue,Color.Red);
myShapeLayer.Style.Outline = System.Drawing.Pens.Black;
myShapeLayer.Style.EnableOutline = true;
myShapeLayer.Style.Line = System.Drawing.Pens.Black;

I hope this helps.

BR
/Christian