I know that it is possible to move the tiff pages from the user interface by dragging the thumbnails.

However I want to know if it is possible to do this from code? Suppose there is a 10 page tiff file. And calling function say, MovePages(int[] pageIndexes, int afterIndex), will move pages accordingly. It is able to move multiple, like selecting [2nd, 3rd, 4th] and moving it after 8th page.