Export (0) Print
Expand All
Key
M11
M12
M21
M22
Tag
Uri
X1
X2
Y1
Y2
Expand Minimize

FontRenderingEmSize

Silverlight

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

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

Type: Double

A value that represents the em size used for rendering.

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

Em size is a typographical measure that specifies the approximate width of the capital letter "M" in the Roman alphabet, measured in the units that are prevalent in a particular technology. Silverlight em sizes are given in pixels. 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, in which font sizing defaults to 14.666 (pixels).

Community Additions

ADD
Show:
© 2014 Microsoft