I want the following functionality in windows c# or vb.net.
I want to highlight particular injured part of human body image after click on it. I also want to save highlighted part id in database. After reopening same image, it will show same previously highlighted area again.
Can you provide the sample code or any trick? Thanks in advance.
I have taken one Image Map control on the form. If I clicked on this particular region, then it is showing popup message. But I want to color this region.
private void Form5_Load(object sender, EventArgs e)
{
this.imageMap1.AddPolygon("Polygon", new Point[] { new Point(100, 100), new Point(180, 80), new Point(200, 140), new Point(220, 180) });
}
private void imageMap1_RegionClick(int index, string key)
{
MessageBox.Show("Region #" + index + ", " + key + ", clicked!", "Region Click");
}
What I have tried:
I have searched on internet, but till now, it has not provided answer to my question.