Muokkaa

Jaa


TextRunTypographyProperties.Capitals Property

Definition

Gets a value that indicates the capital form of the selected font.

public:
 abstract property System::Windows::FontCapitals Capitals { System::Windows::FontCapitals get(); };
public abstract System.Windows.FontCapitals Capitals { get; }
member this.Capitals : System.Windows.FontCapitals
Public MustOverride ReadOnly Property Capitals As FontCapitals

Property Value

One of the FontCapitals values. The default is Normal.

Remarks

Capitals are a set of typographical forms that render text in capital-styled glyphs. Typically, when text is rendered as all capitals, the spacing between letters can appear too tight, and the weight and proportion of the letters too heavy. OpenType supports a number of styling formats for capitals, including small capitals, petite capitals, titling, and capital spacing. These styling formats allow you to control the appearance of capitals.

The following text displays standard capital letters for the Pescadero font, followed by the letters styled as "SmallCaps" and "AllSmallCaps". In this case, the same font size is used for all three words.

Text using OpenType capitals
Example of capitals

Applies to

See also