摘要:
ASP.NET(C#)图片加文字、图片水印一、图片上加文字://using System.Drawing; //using System.IO; //using System.Drawing.Imaging; private void AddTextToImg(string fileName,string text) { if(!File.Exists(MapPath(fileName))) { throw new FileNotFoundException("The file don't exist!"); } if( text == string.Empty ) 阅读全文
posted @ 2011-05-18 09:35
StudyNLP
阅读(1075)
评论(2)
推荐(1)
摘要:
ASP.NET(C#)图片加文字、图片水印 一、图片上加文字: //usingSystem.Drawing;//usingSystem.IO;//usingSystem.Drawing.Imaging;privatevoidAddTextToImg(stringfileName,stringtext){if(!File.Exists(MapPath(fileName))){thrownewFileNotFoundException("Thefiledon'texist!");}if(text==string.Empty){return;}//还需要判断文件类型是否为 阅读全文
posted @ 2011-05-18 09:34
StudyNLP
阅读(515)
评论(0)
推荐(0)

浙公网安备 33010602011771号