- 博客(1)
- 收藏
- 关注
原创 C# DrawString 背景色
要设置DrawString的背景色一、先获取字体的长度和宽度: Font font=new Font(FontFamily.GenericSansSerif, 10, FontStyle.Regular); SizeF s = g.MeasureString(string, font); 二、画背景图 g.FillRectangle(new
2008-04-24 20:11:00
5622
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅