Font.StylisticSet property (Word)
Specifies the stylistic set for the specified font. Read/write WdStylisticSet.
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
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.