简体   繁体   中英

How to get rid of empty spaces in report viewer C#?

I am using reportviewer in C# to print some data but I am facing a problem now which I am getting empty spaces in the right side of my report as the image shows see report image

I have done too much search on google and followed all steps but still have the same problem,

  1. My page is A4 with size: width: 21cm, height:29.7cm.

  2. Body size: width : 17cm, height: 26cm.

  3. Margin top: 1cm, button: 1cm, right: 1cm, left: 1cm

And I have set the *ConsumerContainerWhitespace = true .

Help please.

There are rullers in a report viewer disigner. The top ruller shows the with of the layout of your report. Change the width of your report layout to 17 sm. You shouldn't see any empty space on the left side your report designer.

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