Apply Superscript and Subscript Effects on Fonts

Working with Superscript and Subscript

Apply the superscript effect by setting the Font object’s setIsSuperscript method to true. To apply subscript, set the Font object’s setIsSubscript method to true.

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

Node.js code to Apply Superscript effect on text

Node.js code to Apply Subscript effect on text