depand 发表于 2022-7-8 19:27:32

activereports区域报表(基于代码) 怎么调整为横向

activereports区域报表(基于代码) 怎么调整为横向
网上看到是的
    protected void Button1_Click(object sender, EventArgs e)      {            rpt.Report.PaperOrientation = GrapeCity.ActiveReports.PageReportModel.PaperOrientation.Portrait;            var height = rpt.Report.PageHeight;            rpt.Report.PageHeight = rpt.Report.PageWidth;            rpt.Report.PageWidth = height;            GrapeCity.ActiveReports.PrintExtension.Print(rpt.Document, true, true);      }但这个rpt是什么呢,没找到,希望得到解答!谢谢

Bella.Yuan 发表于 2022-7-11 08:27:55

您好,rpt指的就是报表对象,rpt只是一个名称,您也可以使用其他名称。
页: [1]
查看完整版本: activereports区域报表(基于代码) 怎么调整为横向