Replace symbol $P

Is it possible that the replace-symbol $P does not work properly in aspose.pdf for .net 8.0.0?

Dim txtFooter As Aspose.Pdf.Generator.Text = New Aspose.Pdf.Generator.Text(DateTime.Today.ToShortDateString & " (Seite $p von $P)")
results "16.05.2013 (Seite 1 von $P)"

Hi Joe,

Thanks for your inquiry. I’m afraid I’m unable to notice the issue, while testing the scenario with Aspose.Pdf for .NET 8.0. Can you please share your sample code and output document here? So we will look into it and provide you more information accordingly.

Sorry for the inconvenience faced.

Best Regards,

Hi Joe,

Adding more to Tilal’s comments, when using $P, please add a blank space character at the end of string. The problem has already been noticed and specified in [Known Issues](

We are sorry for this inconvenience.

Thank you, it works with a blank space.