Muokkaa

Jaa


TextRunTypographyProperties.StandardSwashes Property

Definition

Gets the index of a standard swashes form.

public:
 abstract property int StandardSwashes { int get(); };
public abstract int StandardSwashes { get; }
member this.StandardSwashes : int
Public MustOverride ReadOnly Property StandardSwashes As Integer

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

See also