I'm using the reportviewer control with Visual Studio 2008 in a asp.net 3.5 webforms application. I've created many reports that that render using the reportviewer control rather than running on the server with reporting services. This works great, but my problem is when I export to a pdf there may be a lot of white space that needs removed. For example: A report may be set to 11" for the page height. Some pages may take the entire 11", but others maybe only 5". When that happens there is a lot of white space at the end of the page. To make it look nicer I have to open the pdf manually and trim the white space under the document menu. I can't find any way to do this automatically. Does anybody have a possible solution?
To clarify I want to basically "crop" the PDF and remove the white margins. I'm hoping there's some way to do this in code (C#).