how to draw double dash line in gdi+
-
Hello, How can i draw double dash line in gdi+ ? It should look something like this -_-_-_-_-_ . thanks, berlus
-
I want to create a pen that can draw the bottom an top dashed lines, and pass it to external users
Normally pens that draw custom dashes have their DashPattern property set and their DashStyle property set to Custom. This however only works for the horizontal plane so will not work for you. You will need to create your own
Brush
(possibly based onTextureBrush
?) and pass that to aPen
constructor and return the created object as thePen
class is sealed so you cannot override the Pen default behavior.Dave
BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)
Why are you using VB6? Do you hate yourself? (Christian Graus)