简体   繁体   中英

How to define Body Size in Report Viewer ? (Visual studio 2010)

I create Report Viewer in my ASP.net project(.rdlc file) and I have problem when I export it to PDF.(I got extra blank page for every page). I read a solution that I have to change the Body Size. Body ->Properties -> Size .. , but I can't find size in Body Properties. That's the option I have there: (only Fill and Border )

这是一张图片

Where can I change the body size?

Thanks!!

You can set Body size by left-clicking on body area and pressing F4.

You also have to set Report Size and Margins by right-clicking outside your report (grey area).

Note that Report size include Margins so you have to set Body size according to this; ie Body.Width = Report.Width - Report.Margins.Right - Report.Margins.Left

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM