user3321263
user3321263

Reputation: 45

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)

Here is a picture

Where can I change the body size?

Thanks!!

Upvotes: 2

Views: 4577

Answers (1)

tezzo
tezzo

Reputation: 11105

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; i.e. Body.Width = Report.Width - Report.Margins.Right - Report.Margins.Left

Upvotes: 3

Related Questions