advertisement
Login | Register   
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   TIP BANK
Browse DevX
Download the set of sample applications that accompany this article.
Partners & Affiliates
advertisement
advertisement
advertisement
advertisement
 

Master .NET's Text Tricks

Learn how to use the Graphics object's methods to draw text in different fonts—clipped, wrapped, aligned, stretched, and rotated in all sorts of ways. 


advertisement
rawing text in Visual Basic 6 was all very simple—both the process and the results. First, you would set a form or PictureBox's CurrentX and CurrentY properties and then call the Print method.


In contrast, .NET provides more powerful tools for drawing text. As is so often the case however, the extra power comes with extra complexity. While you can do amazing things with text in .NET, there's a lot more to learn. Still, you can attack the complexity in easily-digestible chunks, beginning with simple text display, then gradually adding new "tricks" such as changing fonts and alignment, clipping, wrapping, shading, and transforming text, until you're thoroughly conversant with .NET's text-display features.

It's quick, easy and you get access to all the articles on DevX.
This registration/login is to allow you to read articles on devx.com.
Already a member?



advertisement