Free Support Forum - aspose.com

Extra whitespace in $p and $P replaceable symbols

Hello,

We are using version 2.6.1 of Aspose.Pdf. I'm trying to use the replaceable symbols $p and $P, however, both contain additional whitespace. We are creating Pdfs using XML, here is a sample:

Page [$p] of [$P]

Attached is the generated pdf. Can something be done to get rid of the extra whitespace?

Thank You.

Hi,

Thank you for considering Aspose.

Since I can't know how many pages the document has when rendering, I have to reserve more white space. I have not find better solution for this problem. I will keep this issue in mind and try to find better solution.