LanguageFontGroup.DocumentAlternate2Font Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a font that is recommended as an additional option for use in documents beyond the recommendations provided by DocumentHeadingFont, ModernDocumentFont and TraditionalDocumentFont.
public:
property LanguageFont ^ DocumentAlternate2Font { LanguageFont ^ get(); };
LanguageFont DocumentAlternate2Font();
public LanguageFont DocumentAlternate2Font { get; }
var languageFont = languageFontGroup.documentAlternate2Font;
Public ReadOnly Property DocumentAlternate2Font As LanguageFont
Property Value
The recommended LanguageFont, or NULL if no font recommendation is available.
Remarks
The DocumentAlternate2Font property provides a font recommendation as an additional option for use in documents beyond the recommendations provided by DocumentHeadingFont, ModernDocumentFont and TraditionalDocumentFont. These fonts could be used in body text or other text elements. The app scenario for which this is most likely to be useful is in populating a font-picker list in an authoring tool with a set of fonts designed for a particular language or script.
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 DocumentAlternate2Font recommendation is available for certain languages and scripts only.