Hi,
How can I Generate Page No.s Like 1 of 10, 2 of 10 in the header/footer while generating new pdf file.
I found some examples regarding adding/updating Page number stamp to an existing pdf but dont know how to add page numbers while creating a new pdf file.
Page numbers should be like below example:
1 of
where n is total number of pages not known during coding.
Thanks
Hi Rajeev,
Thanks for contacting support.
Please visit the following link for required information on Add Page Number Stamp in a PDF File. Furthermore, you can use $p to render current page of document and $P to render total number of pages in PDF file. For more information, please visit [Rendering Replaceable Symbols during PDF creation](http://www.aspose.com/docs/display/pdfnet/Rendering+Replaceable+Symbols+during++PDF+creation)