Table of contents
Collapse the table of content
Expand the table of content

Font.ContextualAlternates Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Returns or sets an MsoTriState constant that represents the state of the ContextualAlternates property on the characters in a text range. The ContextualAlternates property enables different shape choices for some characters depending on the context of the character and the design of the selected font. Read/write.


expression. ContextualAlternates

_expression_A variable that represents a Font object.

Return Value



Note The ContextualAlternates property has an effect only for OpenType fonts that contain contextual alternates.

The ContextualAlternates property value can be one of the following MsoTriState constants declared in the Microsoft Office type library.

msoFalseNone of the characters in the range are formatted with contextual alternatives.
msoTriStateMixedReturn value indicating that the range contains some text formatted with contextual alternatives and some text not formatted with contextual alternatives.
msoTriStateToggleSet value that switches between msoTrue and msoFalse.
msoTrueAll characters in the range are formatted with contextual alternatives.
© 2018 Microsoft