Hello,
Thanks for reaching out to us. I understand that you are dynamically trying to add a different page number for each of your pages using the ContentReplacer. Can you please send me the input file which contains the file content you are replacing through email? You can email this via our support email: support@apryse.com
In the email, can you please go into detail on your replacement logic? Generally you can use the Stamper class to add an iterative page number onto a page as is shown here:
I understand you mention this does not work for you. Given your use case, If you can elaborate on why this does not work for you based on your previous tests, our team can formulate the best solution moving forward.
We look forward to hearing from you in regards to these details.
Thanks,