To change the default format (A4) of a report, you must change the report properties to accept the size of custom paper.
Set paper size by graphical interface
Step 1
Open the report and right-click (on the gray panel, not on the report itself) to select "Report Properties"
Step 2
Select "Landscape" for orientation and select a custom format. Indicate also your width and height.
PaperSize Software Suite
- The paper size should be the size in inches times 100
- Width: paper width, in hundredths of an inch
- Height: paper height, in hundredths of an inch
Here is the code I used to programmatically set my own paper size in my report
ReportViewer1.PrinterSettings.DefaultPageSettings.PaperSize = new PaperSize("Custom", 650, 325)
** Note. Do not forget that you may need to use the code ReportViewer1.RefreshReport()
if it does not work. *
For more information, visit the MSDN PaperSettings.PaperSize Page
source share