C# 在图片上写字
摘要:
下面的代码实现了从剪贴板取出图片,然后写上字,保存到文件Image bmap;IDataObject data = System.Windows.Forms.Clipboard.GetDataObject();bmap = (Image)(data.GetData(typeof(System.Drawing.Bitmap)));Graphics g = Graphics.FromImage(bmap); SolidBrush drawBrush = new SolidBrush(Color.Red);Font drawFont = new Font("Arial", 10, 阅读全文
posted @ 2013-06-03 17:51 星空夜夏梦 阅读(873) 评论(0) 推荐(0) 编辑