[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.aspnet.webcontrols

Re: how to make drawimage work in WEB FORM??

(Dazhi yang)

1/21/2003 4:51:00 PM

thanks guys, i've learned that. now the new problem is to draw images(or
imagebuttons) over a floorplan at given pixel location. i found no way
to make the location a system variable in aspx page inside a tag. this
is absurd. but still i can't find a way to dynamically display the
imagebuttons. do you guys have any ideas?

thanks a million




*** Sent via Developersdex http://www.develop... ***
Don't just participate in USENET...get rewarded for it!
1 Answer

Jesse Ezell

1/21/2003 6:27:00 PM

0



You will need to use GDI+ to do some image processing and draw these
buttons over the floorplan (this could easily get processor intensive,
so remember page caching).

The concept is the same. You create a web form that gets put in the src
tag something like this:

DrawImage.aspx?Button1=10,10&Button2=50,50

Then, you can enumerate the parameters sent to your page, parse the
coordinates, and draw the buttons.

--Jesse



*** Sent via Developersdex http://www.develop... ***
Don't just participate in USENET...get rewarded for it!