render text in GDI
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
精彩评论