2010年12月9日

【转】C#中图片的重绘

摘要: 原文地址:http://blog.csdn.net/hugengyong/archive/2010/03/22/5403239.aspx像大多数的图片转换工具一样,C#的重绘功能也可以实现相同的效果.Graphicsg=this.CreateGraphics();g.Clear(Color.White);Bitmapimage=newBitmap("test.jpg");intWidth=image.Width-1;intHeight=image.Height-1;//绘制原图g.DrawImage(image,0,0);g.TranslateTransform(image.Width,0); 阅读全文

posted @ 2010-12-09 14:35 shaya 阅读(951) 评论(0) 推荐(0) 编辑

导航