获得图片的宽 高

  System.Drawing.Image img = System.Drawing.Image.FromFile(Commen.CommenFunction.Path + picPath);//找到物理地址
                pic.Width = img.Width;
                pic.Height = img.Height;

原文地址:https://www.cnblogs.com/nanxiaoxiang/p/2725644.html