browse this website. See here for
PDF Page Extraction API allows you to extract one or more pages from
an existing PDF file.
//Load the existing PDF file specified by pdfFileName
PdfDocument doc = new PdfDocument(pdfFileName);
//Extract 3 pages, starting from the second page (page index is zero based)
PdfDocument doc2 = doc.Clone(1, 3);
//Save the extracted pages to a new file
'Load an existing PDF file specified by pdfFileName
Dim doc As New PdfDocument(pdfFileName)
'Extract 3 pages, starting from the second page (page index is zero based)
Dim doc2 As PdfDocument = doc.Clone(2, 3)
'Save the document
The above code extracts 3 pages from an existing PDF file and returns a new PdfDocument
object. That object can be used for further operations. For example, to be further modified
or to be merged with other PdfDocument.
Detailed documentation and sample code about this feature can be found in the
All features are explained in great details in the product documentation. It also
contains complete reference information for each type, property or method;
The download package contains a wide variety of samples with full C# and Visual
Basic.NET source code that demonstrate how to use different feature of the EO.Pdf
Still have questions? Post in our
or contact us
and we will answer them quickly.
Our turn around time is among the best in the industry.