Apply Superscript and Subscript Effects on Fonts
Contents
[
Hide
]
Aspose.Cells for Python via .NET 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 Style.font object’s is_superscript property to true. To apply subscript, set the Style.font object’s is_subscript property to true.
The following code examples show how to apply super and subscript to text.