GroupDocs.Merger allows to extract pages from source document. The result is a new document that contains only specified pages from the source document.
Here are the steps to extract document pages:
Initialize ExtractOptions class with page numbers that should appear in the resultant document;
Instantiate Merger object with source document path or InputStream;