Last post Mar 29, 2011 04:56 AM by mahioak
Mar 29, 2011 02:26 AM|hyder92|LINK
i am new one for reporting(report.rdlc) , so i dont know what is the normal page size how can i set roport size like normal page or A4 page size in report.rdlc or reportviewer control
Mar 29, 2011 04:56 AM|mahioak|LINK
This setting is held in the RLDC file (the report definition XML file). You are able to set this when editing a Report, under Report Properties. You actually need to specify the Width and Height manually.
In order to do this during load time, you would need to load the RDLC file into memory, alter the value for Width and Height, then load the report with the altered report definition.
Select your rdlc report and under the Properties tab select PageSize.
Enter width and height and I believe if you are adding any borders then you would have to make your size smaller to accommodate the border size and any margins.