This example shows how to use the PdfDocument.Pages list extract pages from a document into a separate PDF file.