asp.net做文字水印

  ,,,,///, & lt; summary>   ,,,///,做图片水印(绘画,IO)   ,,,///,& lt;/summary>   ,,,///,& lt; param  name=" InPath祝辞输入图片模板路径& lt;/param>   ,,,///,& lt; param  name=" OutPath祝辞输入图片路径& lt;/param>   ,,,///,& lt; param  name=" oneStr祝辞第1行文字& lt;/param>   ,,,///,& lt; param  name=" oneScript祝辞1 -字体& lt;/param>   ,,,///,& lt; param  name=" oneSize祝辞1 -字体大小& lt;/param>   ,,,///,& lt; param  name=?”在1 - x坐标& lt;/param>   ,,,///,& lt; param  name=俺薄痹? y坐标& lt;/param>   ,,,///,& lt; param  name=" twoStr祝辞第2行文字& lt;/param>   ,,,///,& lt; param  name=" twoScript祝辞2 -字体& lt;/param>   ,,,///,& lt; param  name=" twoSize祝辞2 -字体大小& lt;/param>   ,,,///,& lt; param  name=" twoX祝辞2 x坐标& lt;/param>   ,,,///,& lt; param  name=" twoY祝辞2 y坐标& lt;/param>   ,,,private  void  MyGraphics (string  InPath, string  OutPath,, string  oneStr,, string  oneScript,, int  oneSize,, int 奥奈克斯,,int 钞票,,string  twoStr,, string  twoScript,, int  twoSize,, int  twoX,, int  twoY)   ,,,{   ,,,,,,,string  one =, oneStr;   ,,,,,,,string  two =, twoStr;   ,,,,,,,MemoryStream 小姐=,new  MemoryStream ();   ,,,,,,,Bitmap  bmp =, new 位图(Server.MapPath (InPath));   ,,,,,,,Graphics  g =, Graphics.FromImage (bmp);   ,,,,,,,g.DrawString (1, new 字体(oneSize oneScript也),Brushes.White,, new 点(奥奈克斯,钞票));   ,,,,,,,g.DrawString (2, new 字体(twoSize twoScript也),Brushes.White,, new 点(twoX, twoY));   ,,,,,,,bmp.Save (System.Drawing.Imaging.ImageFormat.Jpeg女士也);   ,,,,,,,System.Drawing.Image 小姐:=,System.Drawing.Image.FromStream(女士);   ,,,,,,,i.Save (OutPath);   ,,,,,,,g.Dispose ();   ,,,,,,,bmp.Dispose ();   ,,,}


asp.net做文字水印