TextRunTypographyProperties.ContextualSwashes 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 a value that specifies the index of a contextual swashes form.
public:
abstract property int ContextualSwashes { int get(); };
public abstract int ContextualSwashes { get; }
member this.ContextualSwashes : int
Public MustOverride ReadOnly Property ContextualSwashes As Integer
Property Value
The index of the standard swashes form. The default is 0 (zero).
Remarks
Certain combinations of swash glyphs can cause an unattractive appearance, such as overlapping descenders on adjacent letters. Using a contextual swash allows you to use a substitute swash glyph that produces a better appearance. The following text shows the same word before and after a contextual swash is applied.
Example of a contextual swash