Files
docs-desktop/dotnet-desktop-guide/framework/wpf/advanced/draw-text-using-glyphs.md
T
Andy (Steve) De George be103da07e Replace various WPF include files with content (#1335)
* net-current-v30plus-md.md

* net-current-v40plus-md.md

* tla2sharptla-ui-md.md

* tla2sharptla-uiautomation-md.md

* tla2sharptla-winclient-md.md

* tla2sharptla-xaml-md.md

* tlasharptla-ui-md.md

* tlasharptla-uiautomation-md.md

* tlasharptla-winclient-md.md

* tlasharptla-xaml-md.md

* fix warnings
2022-03-16 12:14:11 -04:00

1.1 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
Draw Text Using Glyphs 03/30/2017
text [WPF], drawing with Glyphs objects
Glyphs objects [WPF], drawing text
typography [WPF], Glyphs objects
587ab17e-a419-4ad5-b6da-8933a8e83d97

Draw Text Using Glyphs

This topic explains how to use the low-level xref:System.Windows.Documents.Glyphs object to display text in Extensible Application Markup Language (XAML).

Example

The following examples show how to define properties for a xref:System.Windows.Documents.Glyphs object in XAML. The examples assume that the Arial, Courier New, and Times New Roman fonts are installed in the C:\WINDOWS\Fonts folder on the local computer.

[!code-xamlGlyphsOvwSample1#1]

This example shows how to define other properties of xref:System.Windows.Documents.Glyphs objects in XAML.

[!code-xamlGlyphsOvwSamp2#1]

See also