13.1.13

Image Height and width in C#


Code to get the height and width of an image.


System.Drawing.Image objImage = System.Drawing.Image.FromFile("C:\venkat.gif");
width = objImage.Width;
height = objImage.Height;  


Cheers,
Venkatesan prabu .J
http://www.facebook.com/KaaShivInfoTech

No comments:

Post a Comment