mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 17:16:03 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
1.4 KiB
1.4 KiB
title, ms.date, helpviewer_keywords, ms.assetid
| title | ms.date | helpviewer_keywords | ms.assetid | |||
|---|---|---|---|---|---|---|
| Draw Text Using Glyphs | 03/30/2017 |
|
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 [!INCLUDETLA#tla_xaml].
Example
The following examples show how to define properties for a xref:System.Windows.Documents.Glyphs object in [!INCLUDETLA#tla_xaml]. The xref:System.Windows.Documents.Glyphs object represents the output of a xref:System.Windows.Media.GlyphRun in [!INCLUDETLA2#tla_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 [!INCLUDETLA2#tla_xaml].
[!code-xamlGlyphsOvwSamp2#1]