摘要:
/// /// 转换数字 /// protected static int CharToNumber(string c) { switch (c) { case "一": return 1; case "二": ... 阅读全文
posted @ 2019-08-01 15:12
sunshuaize
阅读(270)
评论(0)
推荐(0)
摘要:
/// <summary> /// 删除Excel空列 /// </summary> /// <param name="excelPath">Excel路径</param> /// <param name="columns">是空行但要保留的列</param> /// <returns></retu 阅读全文
posted @ 2019-08-01 14:54
sunshuaize
阅读(392)
评论(0)
推荐(0)
摘要:
/// /// 按照指定的高和宽生成相应的规格的图片,采用此方法生成的缩略图片不会失真 /// /// 源图路径(物理路径) /// 指定宽度 /// 指定高度 /// 返回新生成的图 public static Image GetReducedImage(string ori... 阅读全文
posted @ 2019-08-01 14:43
sunshuaize
阅读(527)
评论(1)
推荐(0)
摘要:
string imgPath = @"C:\ZHM01000001400001-01 青龙 白虎.tif"; Image img = Image.FromFile(imgPath); Bitmap tmpbitmap = new Bitmap(img); img = tmpbitmap; string savePath = Path.Combine(Path.GetDirectoryN... 阅读全文
posted @ 2019-08-01 14:42
sunshuaize
阅读(251)
评论(0)
推荐(0)

浙公网安备 33010602011771号