Text and Fonts

The well-made page is now what it was then ...

Robert Bringhurst, The Elements of Typographic Style

People have been writing for millennia, starting with styli on clay tablets, moving to ink on paper, and now using pixels on monitors and laser printers. Writing on a computer is accomplished with text, the characters that make up the content, and fonts, which provide the visual aspect to the characters, such as typestyle and size.[1]

[1] This chapter deals only with western-style text and not with ideograms as used in Chinese and Japanese text.

Text is ubiquitous. All the examples in this book have used text. Every control has a Text property. The contents of this Text property generally must be rendered (some controls do not render their Text property) on the screen or on a piece of paper. Many controls, such as the Label, TextBox, and RichTextBox, exist primarily to display text. Furthermore, many applications draw text directly on the client area of the form.

This chapter shows how text and fonts are handled in .NET applications.

Windows Forms and the .NET Framework

Getting Started

Visual Studio .NET


Windows Forms

Dialog Boxes

Controls: The Base Class

Mouse Interaction

Text and Fonts

Drawing and GDI+

Labels and Buttons

Text Controls

Other Basic Controls

TreeView and ListView

List Controls

Date and Time Controls

Custom Controls

Menus and Bars


Updating ADO.NET

Exceptions and Debugging

Configuration and Deployment

Programming. NET Windows Applications
Programming .Net Windows Applications
ISBN: 0596003218
EAN: 2147483647
Year: 2003
Pages: 148

Flylib.com © 2008-2020.
If you may any questions please contact us: flylib@qtcs.net