0
I have a pictureBox, and I need the user to be able to make "markings" on the image. For example, the image is a human body, I need the user to click on the photo where the arm is, for example, a little arrow written "arm". When clicking on the leg, a little arrow appears where he clicked and a text on top written "leg" and so on.
I already have several checkboxes in the form, where each one already has all the texts that should appear in the image, such as arm, legs, head. I’d need a way to get this checkbox.Text
when clicking the checkbox, and inserting this text into the photo, exactly where the user clicked.
And I need all this to be saved in the bank, that is, when he clicks save, these markings in the picture tmb have to be saved.
I was using the CreateGraphics
() and DrawLine
(), for the user to circulate the body parts, however, it does not save the risks drawn on top of the photo, and it is very limited just circular with the drawline, wanted a text in the photo.
Is it possible? I don’t even know how to research it better. Can anyone help?
still with Graphics, has Drawstring, and it is also with them that you will save the drawings, I will try to find a code I have here
– Rovann Linhalis
But where is your problem? Can’t save the images in the database? Can’t get the mouse position? Make it clearer what you’re trying to do.
– CypherPotato
I want to insert a text (the text property of the checkbox) on top of an image in the place the user clicks. If he clicks the "arm" checkbox, then in the photo where the arm is, I want it to appear "arm" where he clicked. And at the end of it all, this image with these markings being saved in the bank, as if these texts were part of the image.
– Brugo