Thursday, March 29, 2012

pan and zoom controls

Hello,

I am interested in creating a web form that allows the user to pan and zoom through an image document. The behavior would be similar to that of the pan and zoom tools available in Acrobat Reader. Does anyone have any ideas on where to begin? Is there an Active X or Java Script available to "dress" an image this way in a web form?

Thanks,

RookieWelcome to the ASP.NET forums, klyghnt.

The "pan" can be done using Javascript. I did this in the past, though in retrospect I should have used Flash.
The following site provides a huge number of Javascripts (see the topic index on the left):
Javascript Made Easy.

You can do both "pan" and "zoom" in Flash.
The following are free Flash files (though their interfaces leave a bit to be desired):
funWindows1.0: pan and zoom in window with friction, acceleration
Zoom, Rotate, Pan

Don't know whether that helps at all...
Dart Communications has an ASP.NET server control for panning and zooming large images within a browser. It is cross-browser compatible and does all of the rendering for you.

PowerWEB Zoom for ASP.NET

Check out the Free version of PowerWEB Zoom as well. This shares most of the features of its big brother, but is absolutely free.

PowerWEB Zoom Free for ASP.NET

0 comments:

Post a Comment