Export (0) Print
Expand All

TextRunProperties.FontRenderingEmSize Property

Gets the text size in points for the text run.

Namespace:  System.Windows.Media.TextFormatting
Assembly:  PresentationCore (in PresentationCore.dll)

public abstract double FontRenderingEmSize { get; }
You cannot set this property in XAML.

Property Value

Type: System.Double
A Double that represents the text size in DIPs (Device Independent Pixels). The default is 12 DIP.

A DIP is 1/96 of an inch. As DIP increases the size of the text increases.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft