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

Free Support Forum - aspose.com

Page Numbering - $P not working in 7.9

Hello,

I just upgraded from Aspose PDF 4.0 to 7.9

It seems that the replacement text for pages ( page $p of $P) that the $P is no longer replaced so my docs are showing (page 1 of $P). I haven’t been able to find a solution to this yet and any advice would be appreciated. I have also tried (page $Sp of $SP) and get (page 1 of $SP)

So the error must be in the parsing of the string. Apparently doing ($p of $P) does not parse because $P) is not parsed the same as $P ). So the thing is that $P needs a space.

Hi Matthew,

Thanks for contacting support.

When using $P, you need to append blank space over right side. Its a known issue and it has already been indicated in [Known issues section](http://www.aspose.com/docs/display/pdfnet/Others). We are sorry for this inconvenience.