No clue but try posting on one of the SSRS Sql Server Central forums
www.sqlservercentral.com/Forums/

On Thu, Jun 23, 2011 at 4:43 AM, Kirsten Greed <[email protected]> wrote:
> Hi All
>
> I am using Microsoft SQL Server Report Builder 2.0 to create reports for a
> winforms application.
>
> I want to be able to set the pagesettings at runtime.
>
>
>
> Dim local As LocalReport = New Microsoft.Reporting.WinForms.LocalReport()
>
> local.ReportPath = “c:\test.rdl”
>
> Dim pagesettings As Microsoft.Reporting.WinForms.ReportPageSettings
>
> pagesettings = local.GetDefaultPageSettings  ‘kind is custom otherwise we
> get a read only error
>
> Debug.print pagesettings.PaperSize ‘ returns 1100
>
> pagesettings.PaperSize.Width = 1200
>
> Debug.print pagesettings.PaperSize ‘ still returns 1100
>
>
>
> Any ideas?
>
> Thanks
>
> Kirsten
>
>
>
>

Reply via email to