FontRenderingEmSize Property
Collapse the table of content
Expand the table of content

Glyphs.FontRenderingEmSize Property

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Gets or sets the font size used for rendering the glyphs.

Namespace:  System.Windows.Documents
Assembly:  System.Windows (in System.Windows.dll)
XMLNS for XAML: Not mapped to an xmlns.

'Declaration
Public Property FontRenderingEmSize As Double
<Glyphs FontRenderingEmSize="double"/>

Property Value

Type: System.Double
The font size used for rendering the glyphs. The default is 0.

Dependency property identifier field: FontRenderingEmSizeProperty

An em is a typographical unit of measurement. In Windows Phone, an em is equal to the current font size.

NoteNote:

The default value for FontRenderingEmSize is 0. Therefore, in order to render anything with Glyphs, you should specify a FontRenderingEmSize either in XAML or code. This is in contrast to TextBlock, whose default font size is 11 pixels.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft