Learning by Example: FontPad, a Simple Text Editor
In this example, we extend our knowledge of the font-related namespaces to create a text editor similar in design and scope to Notepad. Of course, the example concentrates on mimicking the functionality in Notepad's Font dialog box. At the end of this chapter, we will fill in the printing aspect of our application. In Chapter 7, “Stream and File Operations,” we extend this sample by adding both Save and Open features.
Key Concepts Covered
The following represents the key classes and concepts demonstrated with this sample application:
Working with the Font class to create and change the default font on a control
Displaying all the fonts installed on a system using the InstalledFontsCollection
Get Visual Basic® Programmer's Guide to the .NET Framework Class Library 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.