Calculate width

zhaozj2021-02-16  68

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 ();

转载请注明原文地址:https://www.9cbs.com/read-18495.html

New Post(0)