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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈