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.
Not exactly. Think this as a command line app. It takes an input tiff file and arguments like which pages to move and after what index. Say, MovePages(int[] pageIndexes, int afterIndex).
So there is no visual element or mouse drag involved in this. I hope I was able to explain it.