We are looping in and converting each excel and word template into PDF using Aspose.PDF.Cloud.SDK( Having if conditions where the extension = .docx and .xls etc , also handling the case where the extension = .pdf) and then merging all the converted PDF’s into one single PDF document. I need the page numbers to be added to this final PDF document. How can I accomplish this?
Any help is greatly appreciated. Thank you in advance.
Hi @wangtao, thank you for your response. I have been experimenting all day with the below code snippet ( added this code after the merging of PDF is completed)
But this is not generating the numbers for all the pages. I noticed that if the document is 64 pages, then it is only generating the page numbers until 32. What am I missing here? Could you please provide the code snippet for achieving this functionality. That’ll be very helpful.