Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
string filePath = @"c:\sample.pdf";
string filePathOut = @"c:\output\result.pdf";
RemoveOptions removeOptions = new RemoveOptions(new int[] { 3, 5 });
using (Merger merger = new Merger(filePath))
{
merger.RemovePages(removeOptions);
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.