Splitting a PDF in multiple files based on either # of pages or size

I have a need to read in a pdf, and split it into multiple files.

I don’t want a file per page; what I want is to either read in x number of pages, then write those to a new pdf, read in the next x number of pages from the same original pdf and write those to a new pdf, until I’ve split the whole file into multiple files.

What I would really like is to do is read in pages from the original pdf into a new pdf up until that new pdf gets to be a certain size, if that’s possible at all…

Is is this possible? Using C#…

Thank you!!!


Hi,

Thanks for your interest in our API’s.

Please follow the instructions specified over Extract PDF Pages between Two Numbers Using File Paths (Facades). In the event of any further query, please feel free to contact.