Murray Brown
asked on
VB.net erase line between two points
Hi. I use the following code to draw a line between two points on a TreeView. What code would I use to clear this line
Sub oDrawLine()
Dim Gr As Graphics = Me.TreeView_From.CreateGra phics()
' Create pen.
Dim blackPen As New Pen(Color.DarkOrange, 2)
' Draw line to screen.
Gr.DrawLine(blackPen, oFrom_Point, oTo_Point)
End Sub
Sub oDrawLine()
Dim Gr As Graphics = Me.TreeView_From.CreateGra
' Create pen.
Dim blackPen As New Pen(Color.DarkOrange, 2)
' Draw line to screen.
Gr.DrawLine(blackPen, oFrom_Point, oTo_Point)
End Sub
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER