Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Drawing on an Image in C#

Options
  • 29-03-2007 12:30am
    #1
    Registered Users Posts: 1,760 ✭✭✭


    Does anyone know how I can draw points and lines on an image or picture box in C#?? I have the points drawing and everything but if I add a picture box it just draws underneath the image!!!.

    Any help with this would be great!

    Marc


Comments

  • Moderators, Education Moderators, Technology & Internet Moderators Posts: 35,079 Mod ✭✭✭✭AlmightyCushion


    This is because you are drawing the points to the form and not to the image.

    What you need to do is create a graphics object from an image. Then draw the points to the graphics object.


Advertisement