How to add pages, add headers and footers, rotate pages you can know in this section. Aspose.PDF for JavaScript via C++ explain to you all details on this topic.... Add Page Numbering in PDF File - AsposePdfAddPageNum...will help you to add a Page Number in your PDF file. Add Backgrounds...