Font.StylisticSets Property (Publisher)

Returns or sets a Variant that represents the state of the StylisticSets property on the characters in a text range. Read/write.

Version Information

Version Added: Publisher 2010

Syntax

expression .StylisticSets

expression A variable that represents a Font object.

Remarks

The StylisticSets property applies from one to twenty increasingly complex sets of typography styles to the selected font.

Possible values for the StylisticSets property and how they correspond to identifiers for stylistic sets in the user interface (UI) are shown in the following table. A value of zero (0) indicates that no stylistic set is applied.

StylisticSets property value

Stylistic set identifier in UI

0

0

1

1

2

2

4

3

8

4

The number of stylistic sets available varies, depending on the font.

Note

The StylisticSets property has an effect only for OpenType fonts that contain stylistic sets.