摘要:
using System;using System.Drawing;using System.Drawing.Imaging;using System.Drawing.Drawing2D;namespace Tutorial{ class WaterMark { [STAThread] static void Main(string[] args) { //set a working directory string WorkingDirectory = @"C:\Documents and Settings\administrator.JAZZMINE\My Documents.. 阅读全文
摘要:
一、图片上加文字://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 ) { return; } //还需要判断文件类型是 阅读全文