I am automating ReportViewer 10 in .net 4 to generate reports.
When I am rendering as PDF I set the device info so that width and height are for landscape.
When I open the pdf file in adobe and look at the print settings they do not reflect what I have set in the device info. Is this a limitation Adobe (ie it sets the page settings to last used by the app) or is there some other settings I need to do when rendering as PDF?
I have run into a couple of issues where the ReportViewer control does not behave like SSRS (ie Cant use Parameter!ParmName.Label in ReportViewer - its always blank and there is no way to set it). Is this one of those limitation
deviceInfo = "<DeviceInfo>" + "<OutputFormat>PDF</OutputFormat>" + " <PageWidth>11in</PageWidth>" + " <PageHeight>8.5in</PageHeight>" + " <MarginTop>0.0in</MarginTop>" + " <MarginLeft>0.0in</MarginLeft>" + " <MarginRight>0.0in</MarginRight>" + " <MarginBottom>0.0in</MarginBottom>" + "</DeviceInfo>";