Apply Superscript and Subscript Effects on Fonts
Contents
[
Hide
]
Aspose.Cells provides the functionality to apply superscript (text above the baseline) and subscript (text below the baseline) effects to text.
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