This documentation is archived and is not being maintained.

FontFamilyMap.Scale Property

Gets or sets the font scale factor for the target FontFamily.

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

public double Scale { get; set; }
<object Scale="double" .../>

Property Value

Type: System.Double
A Double value representing the scale factor. The default value is 1.0.

The Scale allows the target FontFamily size to be adjusted so that it better matches the size of other fonts used in the composite font family. The scale factor is relative to "em" units.

fontFamilyMap.Scale = 1.1;

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