Thanks so much for your reply... However, I tried it and I still can't make
it work. Instead of returning the Width or the Height is simply returns a
0. I also notice that when I hover the .Value in the selection box that
displays when I am typing the command... ie objImage.Height .Value it
describes Value as "Getting the length of the System.UI.Webco ntrols.Unit".
I have included the code that I generated based on your response to my
question. As a newbie it may be that I don't understand exactly how to use
it. Further direction would be helpful.
Code Snippet..
// create new Image() object for each Photo
Image objImage = new Image();
objImage.ImageU rl = strWebPath + "/" +
objPhoto.Name;
int imgWidth =
Convert.ToInt32 (objImage.Width .Value);
objImage.Width = Convert.ToInt32 (imgWidth * 0.10);
// scale the width
int imgHeight =
Convert.ToInt32 (objImage.Heigh t.Value);
objImage.Height = Convert.ToInt32 (imgHeight * 0.10);
// scale the height
"Jduan" <Jd***@discussi ons.microsoft.c omwrote in message
news:38******** *************** ***********@mic rosoft.com...
objImage.Height .Value