1.3. Section 3: Drawing Text
It's easy to display text in a Label control. In fact, if the Label control does everything you need, you should use it and skip this section.
However, if you need more control over text, Visual Basic provides lots of tools to help. For example, if you want to draw text in multiple colors and fonts or text centered and wrapped within a drawing area with text that doesn't fit ended with an ellipsis, Visual Basic can do the job. This is both good and bad: It's good that Visual Basic provides lots of tools, but learning to get the most out of those tools can be a struggle.
1.3.1. Drawing Simple Text
The Graphics object's DrawString method displays text. The DrawString method takes as its first three parameters the ...
Get Visual Basic Graphics Programming 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.