Font.Ligatures property (Word)
Returns or sets the ligatures setting for the specified Font object. Read/writeWdLigatures.
Syntax
expression. Ligatures
expression An expression that returns a Font object.
Remarks
Open Type fonts support the use of ligatures. The Ligatures property specifies the Word ligatures setting to apply to an Open Type font.
The following table lists the four basic values for ligatures.
Value | Description |
---|---|
Standard | Designed to enhance readability and attractiveness. Standard ligatures in Latin languages include "fi", "fl", and "ff". |
Contextual | Designed to enhance readability and attractiveness by providing the best ligature choice given the surrounding text. |
Historical | Older, ornamental ligatures that may look archaic to the modern reader. Not specifically designed for readability. |
Discretional | Designed to be ornamental and not designed to be readable. |
Combinations of these four basic values form the set of available values for the Ligatures property. This set of values is represented in the WdLigatures enumeration.
Example
The following code example applies Discretional ligatures to the font in the active document.
ActiveDocument.Range.Font.Ligatures = wdLigaturesDiscretional
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.