Sample Code

This section contains information about sample programs for DirectWrite.

Code ExampleDescription
Line spacing (DirectWrite) sampleThis sample demonstrates how to use different line spacing options that are provided for the DirectWrite text layout API.
Downloadable fonts (DirectWrite) sampleThis sample demonstrates how to use DirectWrite downloadable fonts, a feature added in Windows 10, together with the DirectWrite text layout API.
Downloadable fonts (XAML) sampleDemonstrates XAML integration of DirectWrite downloadable fonts, a feature added in Windows 10.

 

 

 

Show: