FontFamilyMap.Scale Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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

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

Public Property Scale As 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

.NET Framework
Available since 3.0
Return to top