O'Reilly logo

Programming .NET Compact Framework 3.5 Second Edition by David Durant, Paul Yao

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

Chapter 12. Text and Fonts

This chapter covers the process of drawing text using members of the System.Drawing namespace.

THE FOCUS OF THIS CHAPTER is on drawing text on the screen of a smart device using the .NET Compact Framework. As expected, the Compact Framework supports only a subset of text-drawing features of the full .NET Framework. Nonetheless, text-drawing support is surprisingly rich. All commonly required text operations are supported, such as selecting named fonts, along with choosing font sizes, styles, and text color. Some things are missing, but the most common operations are present.

Drawing Text

A graphical environment gives programmers a rich set of tools for creating a wide range of graphical effects. You can freely mix pictures ...

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