Draw a free line
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Draw a free line

  1. #1
    Join Date
    Jan 2013

    Draw a free line

    hello.. im using vb.net 2005..
    ive searched everywhere, the code that provide draw a free line inside picturebox.. which is myself can click anywhere inside the picturebox as first line than extend the line as it reach scond point... ive only found a code that provide value of axis already on coding...the picturebox contain a picture..

  2. #2
    Join Date
    Feb 2013

    Re: Draw a free line

    Not sure about back that far, but you'll want to use GDI and it's methods for drawing a line based on the OnMouseDown() and OnMouseUp() event methods from a class that inherits a PictureBox.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

This a Codeguru.com survey!

On-Demand Webinars (sponsored)