Windows Forms 2.0 Programming (Microsoft .NET Development Series)

6. Drawing Text

Probably the most useful thing to draw in any application is text. Sometimes, you draw text yourself and, sometimes, text is drawn for you by the controls you're using. No matter who does the drawing, you can often specify the font, and that's what the first part of this chapter is about. The second part deals with drawing text yourself into a Graphics object, into a GraphicsPath object, or via the TextRenderer.

Категории