locked
Download PDF from ReportViewer Format issue RRS feed

  • Question

  • User-775831949 posted

    I have a ReportViewer control and the PDF download function is working fine. However, the table does not fit to the page of the PDF and part of it appear in 2nd page. I want to have that report fits  into one single PDF page.

    How can we set the page setting property when it compile the PDF file ?

    Any doc/link teaching us on this topic ?

    Thanks 

    Friday, December 10, 2010 4:30 AM

Answers

  • User-8554525 posted

    These are the margins that you can use to shrink / modify the size of the report to match your export - screen size.

     

    If you are using a table, you can select and right click the table and goto properties, go to the tab and check "Fit table on one page if possible"

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, December 11, 2010 9:35 PM

All replies

  • User-8554525 posted

    Assuming this is a report properties issue -

     

    open the report file - RDLC file in the Visual studio.

    go to Report in tool bar

    click on report options

    goto Layout tab.

    here is the report size that you can set. Change the Page Width and Page Height to whatever you want to!!!!

    Saturday, December 11, 2010 10:38 AM
  • User-775831949 posted

    Thanks. I am in now. However what I can see is just adj the margin etc.
    Is there an option where we can ask the report to shrink to one page of PDF on output ?

    Pls help... many thanks

    Saturday, December 11, 2010 9:10 PM
  • User-8554525 posted

    These are the margins that you can use to shrink / modify the size of the report to match your export - screen size.

     

    If you are using a table, you can select and right click the table and goto properties, go to the tab and check "Fit table on one page if possible"

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Saturday, December 11, 2010 9:35 PM
  • User1174454301 posted

    what is the case here if we are using textboxes can we still shrink it  

    Friday, January 28, 2011 4:13 PM