TextRunTypographyProperties.StandardSwashes Property

Definition

Gets the index of a standard swashes form.

public abstract int StandardSwashes { get; }

Property Value

The index of the standard swashes form. The default is 0 (zero).

Remarks

Swashes are decorative glyphs that use elaborate ornamentation often associated with calligraphy. The following text displays standard and swash glyphs for the Pescadero font.

Text using OpenType standard and swash glyphs
Example of standard and swash glyphs

Swashes are often used as decorative elements in short phrases such as event announcements. The following text uses swashes to emphasize the capital letters of the name of the event.

Text using OpenType swashes
Example of swashes used for capital letters

If the value of StandardSwashes is greater than 0 and the selected font does not support standard swashes forms at the given index value, the default form of the letter is displayed.

Applies to

Product Versions
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9

See also