-
Mar 23rd, 2007, 09:22 AM
#1
Page settings in VB.NET 2005 ReportViewer
I'm pretty new to the ReportViewer control in VB.NET 2005.
I have made a report, which works well.
But the ReportViewer controll doesn't seem to use the margins defined in the report. Also I would like to set the paper size default to A4 and the orientation to Landscape.
I can't find how to do this.
Now the report is default at letter size and portait, which causes the report to spread across 2 pages wide.
Anybody can help?
-
Mar 23rd, 2007, 09:46 AM
#2
Re: Page settings in VB.NET 2005 ReportViewer
Hi Frans.
Is not the reportviewer but the report itself.
[vbcode]
crReportDocument.PrintOptions.PaperOrientation = PaperOrientation.Landscape
crReportDocument.PrintOptions.PaperSize = PaperSize.PaperA4
[/vbcode]
"The dark side clouds everything. Impossible to see the future is."
-
Mar 23rd, 2007, 09:52 AM
#3
Re: Page settings in VB.NET 2005 ReportViewer
I am not using the cristal report but the Microsoft.Reporting.WinForms.ReportViewer control with an rdlc file
-
Mar 23rd, 2007, 09:56 AM
#4
Re: Page settings in VB.NET 2005 ReportViewer
oops never used that control.
"The dark side clouds everything. Impossible to see the future is."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|