LanguageFontGroup.ModernDocumentFont | modernDocumentFont property

Applies to Windows and Windows Phone

Gets a font that is recommended for typical document body text following modern style conventions.

Syntax


var modernDocumentFont = languageFontGroup.modernDocumentFont;

Property value

Type: LanguageFont

The recommended LanguageFont.

Remarks

The ModernDocumentFont property provides a font recommendation for typical document body text following modern style conventions. These fonts can also be used in headings or other document elements.

The font recommended for this usage case will always be a "regular" font (regular weight, normal style, normal stretch). Apps might want to apply other weight/style/stretch formatting, as may be appropriate for the app scenario.

A ModernDocumentFont recommendation is available for every supported language or script.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Runtime apps only]

Namespace

Windows.Globalization.Fonts
Windows::Globalization::Fonts [C++]

Metadata

Windows.winmd

See also

LanguageFontGroup

 

 

Show:
© 2014 Microsoft