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 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