image webform control

  • Thread starter Thread starter Tina
  • Start date Start date
T

Tina

I am trying to adjust the size of an image web control but if I try to say
myimage.height = 200 it says that an integer cannot be converted to a
webcontrol unit. I also tried a ctype cast but that didn't work either. Is
there a way to change the size at run time?

I need to do this because the control distorts the aspect ratio of a .jpg
file to fit the design time size of the control. I'm trying to set it to
the size of the jpg width and height.
Thanks,
T
 
Back
Top