Font.StylisticSet Property (Word)
Specifies the stylistic set for the specified font. Read/write WdStylisticSet.
Version Information
Version Added: Word 2010
Syntax
expression .StylisticSet
expression An expression that returns a Font object.
Remarks
Some OpenType fonts provide stylistic sets. A stylistic set defines a set of characters within the font that are intended to be used together, usually for the purpose of visual harmony, such as in headings.
Example
The following code example sets the font for the active document to Gabriola and then applies the sixth stylistic set provided by the Gabriola font.
ActiveDocument.Range.Font.Name = "Gabriola"
ActiveDocument.Range.Font.StylisticSet = wdStylisticSet06