PdfFile.ExtractPages Method ExtractPages(Int32,Int32) Extracts a page from the PDF file. C#public PdfPage[] ExtractPages(int fromPage, int toPage) Parameters fromPage Int32 Start page to extract. toPage Int32 End page to extract.