I found a How to break a PDF into parts tutorial that demonstrates how to split a PDF file into separate PDF files either by pages or by maximum file size using Adobe Acrobat:
I have found many examples on StackOverflow on how to split a PDF by page with C#. But how can I do the latter? How can I split a PDF file into multiple PDF files by a maximum file size using C#?
For example, say I have a PDF file that is 70 pages and 40 MB. Instead of splitting into 7 PDF files of 10 pages each, how can I split the file into around 5 PDF files that are no greater than 10 MB each using C#?
So far, the best method I have seen was in Using itextsharp to split a pdf into smaller pdf's based on size where Cyfer13 used iTextSharp to split the file by page and then group those page files by size. But is a more direct way to accomplish this without having to first split by page?