TextRunTypographyProperties.ContextualSwashes Property
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
The index of the standard swashes form. The default is 0 (zero).
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
Product | Versions |
---|---|
.NET Framework | 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: