Chapter 5. Drawing Text

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

Get Windows Forms Programming in C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.