Hello Everyone,
I draw a Polygon in my application on PictureBox as in code below
Now if i choose other feature than drawing polygon, I need to reset all previously drawn polygon, So I tried by Picture1.Cls again .. but the problem is when I draw another feature or Polygon again the previous polygon is again gets visible.Code:Picture1.Cls Picture1.DrawStyle = vbDashDot Picture1.FillStyle = vbCross Picture1.FillColor = vbGreen If mPoints > 2 Then Polygon hdc, m_Points(1), mPoints End If
How should I am able to delete this drawn Polygon?
Wishing for the help ASAP ....
Thanks ......




Reply With Quote