Issue while spltting the document using PdfFileEditor.Extract

We are having an issue while spltting the document using PdfFileEditor.Extract method. This methid is giving lot of blank pages in output pdf document. Our input document is pdf, we are trying to extract couple of pages from it to separate pdf which is getting a lot of blank pages.

@Febinbabu Since your question is related to Aspose.PDF, I have moved it into the appropriate forum. My colleagues from Aspose.PDF team will help you shortly.

@Febinbabu

Instead of using Facades Classes, please try using DOM approach to extract the Pages like below and let us know if you still face any issues:

Document doc = new Document("FiletobeSplit.pdf");
Document resultDoc = new Document();
resultDoc.Pages.Add(doc.Pages[1]);
resultDoc.Pages.Add(doc.Pages[5]);
resultDoc.Save("extractedPages.pdf");