Last post Oct 25, 2011 05:44 AM by rsarangapany
Sep 22, 2011 08:55 AM|goodluck26|LINK
The requirement is to mark/unmark different points on an image using ASP.Net. I am able to add multiple point on that image using Image button and GDI+, but this is not allowing me to remove that image/icon/point, as at the time of creation I am adding that
point and creating the new image with that icon at that point (and removing the old one). So I don't have any control on that point or icon that I have added.
So if anyone have any idea that how I can achieve that it will be a great help. If there is some inbuilt tool available (doesn't matter if it is paid) that fulfill my requirement , then please also let me know.
Thanks in advance.
Oct 25, 2011 05:44 AM|rsarangapany|LINK
You will have to create a image handler for this. Keep all the points in a indexed array. Keep the original image with you in different variable. Dont replace it. Build the image you want at runtime dynamically and output it using the handler. Consume the
handler where ever you want to display the image. You can go further and optimize the handler to check if the count if the array index has changed before generating the image. Once the image is generated you can cache it. That way you only create the image
when a new point is available or when a point is removed.
Have fun !