下面的代码实现了从剪贴板取出图片,然后写上字,保存到文件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, FontStyle.Bold, GraphicsUnit.Millimeter);int xPos = bmap.H...
[ 查看全文 ]