O'Reilly logo

A Programmer's Guide to .NET by Alexei Fedorov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

11.8. System.Drawing.Text namespace

The last namespace in the System.Drawing namespace is System.Drawing.Text, which provides advanced GDI+ typography functionality. It contains one base class, FontCollection, from which the InstalledFontCollection and PrivateFontCollection classes are derived. The InstalledFontCollection class is a collection of fonts currently installed on the system. The PrivateFontCollection class is a collection of fonts that are used by the application currently running. This last collection contains private versions of existing fonts, which can be manipulated by our application without affecting the whole system, as well as fonts temporarily installed by the application.

The following example shows how to get the names ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required