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