开发者

render text in GDI

开发者 https://www.devze.com 2023-02-13 19:12 出处:网络
using(C# 开发者_如何学JAVA.NET) how to render text in GDI. Let me explain little briefly, when a user types text in \'textBox\' the text has to get displayed on the same window. This has to get done i

using(C# 开发者_如何学JAVA.NET) how to render text in GDI. Let me explain little briefly, when a user types text in 'textBox' the text has to get displayed on the same window. This has to get done in GDI not GDI+ or ......"AND IT HAS TO GET DONE IN Windows7 and later it'll get installed on Windows Server 2008" So any HELP please. Thanks a lot.


In c# the function is Graphics.DrawString: http://msdn.microsoft.com/en-us/library/system.drawing.graphics.drawstring%28v=vs.71%29.aspx the framework is abstracting the GDI functions. Even if you use a very aged OS, from the DrawString documentation:

Platform Requirements: Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

0

精彩评论

暂无评论...
验证码 换一张
取 消