We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Superscript in table-row-settext

Hi Aspose,
​As per the attachement , We are using table-IROW object to display the data . Please refer the below sample lines of code. The values are dynamic values.

​IRow row = tbl.getRows().get_Item(1);Superscript.png (38.2 KB)

row.get_Item(j).getTextFrame().setText(“18.96%”);

​Now we would like to include superscript for the above values . In this case 18.96 value should come along with Superscript value 3 . Please refer the attachment . Please let us know how to do this?

@BNYMellonITAMSoftwareOperation,

I have observed your requirements and suggest you to please refer to Java documentation article, How to add superscript and sub-scritp text. In order to set font related properties for text portion, please refer to this documentation article. I hope the shared information will be helpful.