Get the size of the picture in the ASPNET

zhaozj2021-02-16  91

System.drawing.image imgphoto = system.drawing.image.Fromfile (Server.MAppath (YourFile));

Int SourceWidth = IMGphoto.width;

INT Sourceheight = imgphoto.height;

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

New Post(0)