So I can hyperlink an image using
If I have a large image with lots of small images on it how does one hyperlink each one of the small images or is this even possible?Code:Process.Start("http://www.vbforums.com")
Thank you
Printable View
So I can hyperlink an image using
If I have a large image with lots of small images on it how does one hyperlink each one of the small images or is this even possible?Code:Process.Start("http://www.vbforums.com")
Thank you
Handle the MouseClick event of the PictureBox containing the Image and then determine which area the click occurred within to decide which URL to pass to Process.Start. You can define the areas with Rectangles or Regions as appropriate. You could even define a class that encapsulated all the functionality of mapping those areas to URLs. VB.NET is an OO language after all, so implementing an image map in an OO manner is the intended way to go.
Im a bit confused on your comment. The image displays many small images and I need to hyperlink each individual image, can you give me a code example please?