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是什么呢,没找到,希望得到解答!谢谢
您好,rpt指的就是报表对象,rpt只是一个名称,您也可以使用其他名称。
页:
[1]