I have tried to split the pdf document has 1550 pages and file size is 30 MB. I have attached the source code using c#. I can’t attach the pdf document in this post due to large file size. Please let me know how to resolve this issue.
We have production issue with the customer.
Thank you!
Hi Ganesan,
Thanks for your inquiry. I have tested your scenario with a sample PDF document using Aspose.Pdf for .NET 11.6.0 and unable to notice the issue. Please download and try latest version of Aspose.Pdf for .NET, it will resolve the issue. However if the issue persist then please share your source document via some free file sharing service e.g. dropbox, onedrive etc, so we will look into it and will guide you accordingly.
//create PdfFileEditor object
Aspose.Pdf.Facades.PdfFileEditor pdfEditor = new Aspose.Pdf.Facades.PdfFileEditor();
int fileNumber = 1;
//split to pages
MemoryStream[] outBuffer = pdfEditor.SplitToPages(myDir + "ThousandPages.pdf");
Furthermore, I am afraid you are using Aspose.Pdf.Kit for .NET for the conversion. Please note Aspose.Pdf for .NET and Aspose.Pdf.Kit for .NET merged into a single product since Aspose.Pdf for .NET 6.0.0 and Aspose.Pdf.Kit for .NET discontinued as a separate product. All the features of Aspose.Pdf.Kit for .NET are available under Aspose.Pdf.Facades namespace of Aspose.Pdf for .NET. Please check following documentation link for migrating from Aspose.Pdf.Kit for .NET to Aspose.Pdf for .NET.
We are sorry for the inconvenience caused.
Best Regards,