Re: Line control and points

Tech-Archive recommends: Fix windows errors by optimizing your registry




"Bully" <TheHindes@xxxxxxxxx> wrote

If I draw a line in a PictureBox using the .Line function, how can I
retrieve an array or list of all the x,y points along the line?

If you actually want the array, then you might build the array and have
Windows draw the line from the array. (PolyLine API)

If you just want to know if a certain point falls on a drawn line,
then you can use math to calculate the answer....

LFS


.



Relevant Pages