Windows apps
Collapse the table of content
Expand the table of content
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GlyphRun.DeviceFontName Property


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

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public string DeviceFontName { get; set; }

Property Value

Type: System.String

A String value that represents the device font.

When a GlyphRun is rendered on a device that has built-in support for the named device font, the GlyphRun 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
Available since 3.0
Return to top
© 2017 Microsoft