Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
// For complete examples and data files, please go to https://github.com/GroupDocs-Merger/GroupDocs.Merger-for-.NET
string filePath = @"c:\sample.pdf";
string filePathOut = @"c:\output\result.pdf";
int pageNumber = 6;
int newPageNumber = 1;
MoveOptions moveOptions = new MoveOptions(pageNumber, newPageNumber);
using (Merger merger = new Merger(filePath))
{
merger.MovePage(moveOptions);
merger.Save(filePathOut);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.