TextRunTypographyProperties.StylisticAlternates Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.
Example of stylistic alternate glyphs
The following text displays several stylistic alternate glyphs for the Pericles font.
Example of other stylistic alternate glyphs
Applies to
See also
.NET