FontRenderingEmSize Property

Gets or sets the em size used for rendering the Glyphs.

XAML
<object FontRenderingEmSize="Double" .../>
Scripting
value = object.FontRenderingEmSize
object.FontRenderingEmSize = value

Property Value

Double

A value that represents the em size used for rendering.

This property is read/write. The default value is 0.

Remarks

The apparent visual size of the em size varies per font.

Note that the default FontRenderingEmSize is 0. Therefore in order to render anything with Glyphs you should specify a FontRenderingEmSize either in XAML or script. This is in contrast to TextBlock, which defaults its font sizing to 14.666 (pixels).

Applies To

Glyphs

See Also

Text and Fonts Overview
TextBlock