报表用ReportViewer预览时,比例有问题,打印布局时缩放比例100%也会很大很大,看下图,部署到客户端也是这种效果,很苦恼,哪位大侠知道这是怎么回事吗
winform报表RDLCReportViewer

解决方案 »

  1.   

    你画报表的时候是不是将报表的PageSize设置的很大呀?
      

  2.   

    就这么几句话,也都没有写什么特殊的东西
    this .reportViewer .ProcessingMode = Microsoft .Reporting .WinForms .ProcessingMode .Local;
    this .reportViewer .LocalReport .ReportEmbeddedResource = _info.ReportName;//1
    for (int i = 0; i < _info .DataSource .Tables .Count; i++)
    {
            reportViewer .LocalReport .DataSources .Add(new ReportDataSource(_info.DataSource.Tables[i] .TableName, _info .DataSource .Tables[i]));//2
    }
      

  3.   

    this .reportViewer .SetDisplayMode(Microsoft .Reporting .WinForms .DisplayMode .PrintLayout);
      

  4.   

    你看下是不是rdlc设计画面的空白部分留太多了(不是报表属性设置的纸张大小)
      

  5.   

    我想可能是ReportViewer有问题,但是找不出有什么问题,重装还是老样子