Export (0) Print
Expand All

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.

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.

Silverlight

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

ADD
Show:
© 2014 Microsoft