locked
Automatic Print Layout Mode in RDLC RRS feed

  • Question

  • Hi MSDN,

     

    Hello Guys.

     

    I just wanna if possible to automatically set the Report Viewer in print layout mode and zoom value 100 percent. Is it possible guys? so that the user will not have to click the print layout.

     

    Thank you guys in advanced.

     

    ______________________

    God Bless

    Charlie P.

    Saturday, May 7, 2011 9:39 AM

Answers

  • Use

    ReportViewer.SetDisplayMode(DisplayMode.PrintLayout);

    ReportViewer.ZoomMode = ZoomMode.Percent;

    ReportViewer.ZoomPercent = 100;


    Cephas Lin This posting is provided "AS IS" with no warranties.
    Tuesday, May 10, 2011 5:56 PM

All replies

  • Use

    ReportViewer.SetDisplayMode(DisplayMode.PrintLayout);

    ReportViewer.ZoomMode = ZoomMode.Percent;

    ReportViewer.ZoomPercent = 100;


    Cephas Lin This posting is provided "AS IS" with no warranties.
    Tuesday, May 10, 2011 5:56 PM
  • Thank you Ceph,

    Sorry for the delayed reply, I was too busy making summary reports. Thank you so much and it works.

     

    _____________________

    God Bless

    Charlie

    Wednesday, May 18, 2011 2:16 AM
  • reportViewer3.SetDisplayMode(DisplayMode.PrintLayout);
    reportViewer3.ZoomMode = ZoomMode.PageWidth;
    Thursday, September 28, 2017 3:31 PM