This documentation is archived and is not being maintained.

Glyphs.DeviceFontName Property

Gets or sets the specific device font for which the Glyphs object has been optimized.

Namespace:  System.Windows.Documents
Assembly:  PresentationFramework (in PresentationFramework.dll)

public string DeviceFontName { get; set; }
<object DeviceFontName="string" .../>

Property Value

Type: System.String
A String value that represents the name of the device font.

Identifier field


Metadata properties set to true


When a Glyphs is rendered on a device that has built-in support for the named device font, the Glyphs should be rendered using a device specific mechanism for selecting that font, and by sending Unicode code points rather than glyph indices. When rendering onto a device that does not include built-in support for the named device font, DeviceFontName should be ignored.

.NET Framework

Supported in: 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.