LanguageFontGroup.DocumentHeadingFont | documentHeadingFont property

Applies to Windows and Windows Phone

Gets a font that is recommended for use in document headings.

Syntax


var documentHeadingFont = languageFontGroup.documentHeadingFont;

Property value

Type: LanguageFont

The recommended LanguageFont.

Remarks

The DocumentHeadingFont property provides a font recommendation for document text elements such as headings. These fonts could also be used in body text, but use for long runs of body text is not generally recommended. The recommended font may be a display face that is significantly different from the ModernDocumentFont and TraditionalDocumentFont recommendations.

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 DocumentHeadingFont 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