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

Glyphs.FontRenderingEmSize Property

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

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

public double FontRenderingEmSize { get; set; }
<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 Silverlight, an em is equal to the current font size.


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.


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

© 2016 Microsoft