Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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; }

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
Show:
© 2017 Microsoft