Apply Superscript and Subscript Effects on Fonts

Working with Superscript and Subscript

Apply the superscript effect using the Font object’s setSuperscript property. To apply subscript, use the Font object’s setSubscript method.

The following code examples show how to apply super- and subscript to text.

Applying Superscript

Applying Subscript