This project has moved and is read-only. For the latest updates, please go here.

Outline in PolyLine

Topics: General Topics
May 11, 2007 at 3:45 PM
how can i put a Outline around a PolyLine?

This code not working:

SolidBrush shadowBrush = new SolidBrush(Color.Salmon);
vLayer.Style.Outline = System.Drawing.Pens.Black;
vLayer.Style.EnableOutline = true;

vLayer.Style.Line.Brush = shadowBrush;
vLayer.Style.Line.Width = 6;

I want create a map with streets and the streets are lines , but i can´t create the lines(streets)
like :

May 14, 2007 at 8:44 AM
I suppose in the example streets are polygons, so they can be outlined... if streets are lines, no outline is possible... you could duplicate the layer and use 2 different pen widths to have a similar style, but don't know what will be effects about performance if the streets layer is too big!
May 14, 2007 at 1:12 PM
Hello Blade,

thanks for your help again.... :)