Editar

Compartir a través de


TextRunTypographyProperties.StylisticAlternates Property

Definition

Gets the index of a stylistic alternates form.

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

Property Value

The index of the stylistic alternates form. The default is 0 (zero).

Remarks

Alternates are glyphs that can be substituted for a standard glyph. OpenType fonts, such as the Pericles font used in the following examples, contain alternate glyphs that you can use to create different appearances for text. The following text displays standard glyphs for the Pericles font.

Text using OpenType standard glyphs
Example of a standard set of glyphs

The Pericles OpenType font contains additional glyphs that provide stylistic alternates to the standard set of glyphs. The following text displays stylistic alternate glyphs.

Text using OpenType stylistic alternate glyphs
Example of stylistic alternate glyphs

The following text displays several stylistic alternate glyphs for the Pericles font.

Text using OpenType stylistic alternate glyphs
Example of other stylistic alternate glyphs

Applies to

See also