Free Support Forum - aspose.com

Trouble with replaceable symbols

Hello,

I tried the aspose.pdf version 7.7
And I want to numerate my pages.
I used in XML

Page $p/$P


$P is replace by the total number pages but $p is not replace by the actual number page.
I got Page $p/5 on each page.

This method worked with an old version of aspose.pdf (3.3)

Could say me what i am doing wrong?

Best regards
Nicolas



Hi Nicolas,


Thanks for your inquiry. Iā€™m not sure about version 3.3 but your XML will work fine after adding spaces around ā€œ/ā€ , as following.


Page $p / $P

Please feel free to contact us for any further assistance.

Best Regards,