次の方法で共有


Font.Ligatures Property (Word)

Returns or sets the ligatures setting for the specified Font object. Read/write WdLigatures.

Version Information

Version Added: Word 2010

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

Concepts

Font Object

Font Object Members