This is a migrated thread and some comments may be shown as answers.

How to add page numbers to a merged PDF file

1 Answer 349 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 13 Mar 2020, 10:31 PM

I'm having trouble finding documentation/example code for adding page numbers to merged PDF file.  Merging of PDF files/pages I can do, adding page numbers to this new document, I cannot do.  Can anyone point me in the right direction?

 

Thanks!

1 Answer, 1 is accepted

Sort by
0
Martin
Telerik team
answered on 17 Mar 2020, 11:21 AM

Hello Barry,

We have a good SDK example in our GitHub repository: DrawHeaderFooter. The example demonstrates how to draw headers and footers to an existing document using PdfProcessing`s FixedContentEditor class. In the DrawHeaderAndFooterToPage() method you can see how the page numbering is implemented in the footer.

I hope you find this information helpful.

Regards,
Martin
Progress Telerik

Get quickly onboarded and successful with UI for ASP.NET AJAX with the Virtual Classroom technical trainings, available to all active customers. Learn More.
Tags
General Discussions
Asked by
Barry
Top achievements
Rank 1
Answers by
Martin
Telerik team
Share this question
or