LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I draw dashed lines on a Picture Control?

I have loaded a *jpg map onto a Picture Control.
I then load a file of X-Y coordinates that make-up different legs which are connected.
I need to make these lines dashed. Before I spend time on adding new points in between
points and then alternate between "Draw line" &
"Draw point", I wonder if there is an easier
way of maybe changing the attribute of the
line with "Draw Multiple Lines" ???
0 Kudos
Message 1 of 3
(3,253 Views)
There is no way to change the attribute of the line to a dotted line. The Draw multiple lines VI will always draw the lines end to end. If your lines only need to be virtical or horizontal, you can probably get what you wan by drawing text with dashes and "|" characters. Otherwise, you'll have to do things the hard way with the draw line and draw point vi's as you intended.
0 Kudos
Message 2 of 3
(3,253 Views)
I have been trying to draw dashed lines too. I have tried drawing a dash and then putting it in a loop. the loop executes after the user has lifted the mouse and then it gets the end point of the line. the problem is that the line appears only after the mouse has been pressed, dragged and released. I was wondering if you have managed to solve your problem. If yes then could you help me with it.
0 Kudos
Message 3 of 3
(3,253 Views)