How can i draw a dotted line in .NET/WinForms/GDI+?
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.
p.DashStyle = DashStyle.Dash;
I believe.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With