Sample Code
This section contains information about sample programs for DirectWrite.
Code Example | Description |
---|---|
Line spacing (DirectWrite) sample | This sample demonstrates how to use different line spacing options that are provided for the DirectWrite text layout API. |
Downloadable fonts (DirectWrite) sample | This sample demonstrates how to use DirectWrite downloadable fonts, a feature added in Windows 10, together with the DirectWrite text layout API. |
Downloadable fonts (XAML) sample | Demonstrates XAML integration of DirectWrite downloadable fonts, a feature added in Windows 10. |