Hello, I have a project adopted from the code in the ManipulatePages example project from Telerik, the FitAndPositionMultiplePagesOnSinglePage routine to be precise.
Except instead of taking four pages and putting them on one, I'm taking two 5.5x8.5 pages and putting them on a new 11x8x5 page, left to right.
It's working great, when the input PDF is properly formatted.
I have a handful of PDFs that were created in some unknown way that appear to be malformed. When they are fed through my project, the odd pages never make it to the right side of the output. It looks like, among other things, the CropBox size isn't the same as the MediaBox size on the source doc, which I suspect is a source (maybe not THE source) of the problem.
It seems I should be able to read the content of the pages on the source doc and insert them into a new page on the output doc, instead of just copying the page from PdfFileSource.Pages to essentially rebuild the page, instead of copying the page?
However, I'm at a loss as to how to read the source page, as PdfFileSource.Pages don't seem to expose the content?
Help is appreciated! :)