tags:

views:

578

answers:

2

Hey all,

Pen p = new Pen (Color.Black)

gives me only solid line pen.

I am trying to have a dotted (or dashed) lines,

Can't seem to be able to google it up successfully,

will much appreciate any help on this one.

+7  A: 
p.DashStyle = DashStyle.Dash;

I believe.

cfeduke
+1  A: 

Set the DashStyle property on your Pen object.

Ty