In the "Crop Pages" feature of Acrobat there is a option to "Remove White Margins" from the pages of a PDF, which basically crops all the margins out of the pages. How could one go about doing that with the Quartz 2D PDF functions in an iPad app? I have the basic code for opening a PDF and displaying the pages. I am just wondering about how to go about removing the margins programatically. I want to do this because PDFs with wide margins end up getting scaled down too small by the CGPDFPage Transform function.
//scott