CSDN博客

img rickjelly2004

计算Width

发表于2004/7/1 10:03:00  657人阅读

Response.Write(ImageButton1.ImageUrl);
                     System.Drawing.Image logo = System.Drawing.Image.FromFile(Server.MapPath(ImageButton1.ImageUrl));
                     Response.Write(logo.Width);
                     Response.Write(logo.Height);
                     logo.Dispose();
阅读全文
0 0

相关文章推荐

img
取 消
img