ok. Thanks for the info. I found this:
http://www.codeproject.com/csharp/imageresize.asp Seems like that would do
the trick.
"bruce barker (sqlwork.com)" <b_*************************@sqlwork.com> wrote
in message news:e3**************@TK2MSFTNGP04.phx.gbl...
the img control in .net, just generates an image tag. all display features
are done by the browser. there are CSS styles for sizing and clipping. your
code will have to get the image size and clac the zoom and clip you want.
the most common approach is an aspx page that display the image the correct
size by doing transformation on the server rather than the client.
-- bruce (sqlwork.com)
"Keith G Hicks" <kr*@comcast.net> wrote in message
news:Oa**************@TK2MSFTNGP05.phx.gbl...
In MS Access image controls there's a property setting for "Size Mode" -->
Clip, Zoom or Stretch. I don't see any similar property in an asp image
control. When I have an image on a page, it seems to Stretch no matter
what.
If an image is displayed that has different proportions than the image
control itself, the image is distorted. I need a "Zoom" setting (not to
zoom
in and out). How can this be done?
Thanks,
Keith