Skip to Content
.NET Windows® Forms Custom Controls
book

.NET Windows® Forms Custom Controls

by Richard Weeks
January 2002
Intermediate to advanced
288 pages
5h 48m
English
Sams
Content preview from .NET Windows® Forms Custom Controls

Fonts

Working with various fonts has never been a trivial task. Each font has specific characteristics such as its height, width, ascent, and decent. Fortunately, working with the Font class provided by the base class libraries makes working with fonts a painless task.

Fonts, like brushes and pens, can be solid or textured and can be any size or color. Included with the .NET Framework SDK is a wonderful font example that includes textured fonts, drop shadows, internalization, and font rotation. For the sake of completeness, the Font Demo application will be shown to illustrate the following topics:

  • Drop shadows

  • Textured fonts

  • Background images

  • Graphics transformations

The Font Demo will be in the style of the Pen Demo presented earlier in this chapter, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Pro .NET 5 Custom Libraries: Implementing Custom .NET Data Types

Roger Villela
Professional C# 5.0 and .NET 4.5.1

Professional C# 5.0 and .NET 4.5.1

Christian Nagel, Jay Glynn, Morgan Skinner

Publisher Resources

ISBN: 0672323338Purchase book