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 Style.Font object’s IsSuperscript property to true. To apply subscript, set the Style.Font object’s IsSubscript property to true.
The following code examples show how to apply super and subscript to text.
C# code to Apply Superscript effect on text
C# code to Apply Subscript effect on text