[求助]如何获得Graphics的宽度和高度? Post By:2015/5/26 12:46:00 [显示全部帖子]
示例中:
Dim p As
WinForm.Painter = e.Form.Controls("Painter1") Dim g As Graphics =
p.Graphics Dim fnt As
New Font("宋体",16) Dim msg As
String = "I Like
Foxtable" g.DrawString(msg,fnt,Brushes.Red,10,10) p.Repaint()