Results 1 to 4 of 4

Thread: Page settings in VB.NET 2005 ReportViewer

  1. #1

    Thread Starter
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    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?
    Frans

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    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."

  3. #3

    Thread Starter
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926

    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
    Frans

  4. #4
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    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
  •  



Click Here to Expand Forum to Full Width