O'Reilly logo

Windows Forms Programming in C# by Chris Sells

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

Fonts

A font is an instance of the Font class, which includes a font family, a size, and a font style. And, as you might expect, a font family is an instance of the FontFamily class, which is a group of typefaces that differ only in style. A typeface is a named collection of drawing strokes that make up the outlines of the characters, such as those you're reading right now. It's the typeface name that you're used to seeing in the “Font” menu of most programs. The font style constitutes the variations within a typeface, such as bold, italics, and underline. So a typeface would be “Arial,” a font family would include “Arial Regular” and “Arial Bold,” and a font would be “12-point Arial Bold.”

Fonts can be measured in several sizes, including pixels, ...

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