Free Support Forum - aspose.com

Adding superscript via XML

Let’s say I have xml file containing

<?xml version="1.0" encoding="UTF-8"?>

150
M2


Now I am trying to implement it into a PDF
form.importXml(xmlFile);

Works nice. Then the problem: how do I make the “2” to appear as superscript on PDF (m2) ?

Hi Janne,

Please share with us the PDF form, XML file and the code snippet you’re using at your end. We’ll look into the matter and update you accordingly.

We’re sorry for the inconvenience.
Regards,