This sample shows how to move (reorder) pages in a PDF document.
Please use one of the PdfDocument.MovePages methods to change position of pages in a PDF document. You may move continuous ranges of pages and arbitrary sets of pages. To move only one page please use PdfDocument.MovePage method. If you need to swap two pages then please have a look at PdfDocument.SwapPages method.