image webform control

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top