摘要:
ASP.NET中获取图片的尺寸public void GetImageSize(string FullFilePath) {//参数为图片文件的绝对路径 System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(FullFilePath); int width = bmp.Width; //宽 int height = bmp.Height; //高 }获取上传的图片的尺寸public void GetUploadImageSize() { //txt_Load为上传控件对象 ... 阅读全文
posted @ 2012-08-08 15:47
Expices
阅读(224)
评论(0)
推荐(0)
浙公网安备 33010602011771号