找回密码
 立即注册

QQ登录

只需一步,快速开始

depand

注册会员

22

主题

41

帖子

153

积分

注册会员

积分
153
depand
注册会员   /  发表于:2022-7-8 19:27  /   查看:1086  /  回复:1
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是什么呢,没找到,希望得到解答!谢谢

1 个回复

倒序浏览
Bella.YuanWyn认证
超级版主   /  发表于:2022-7-11 08:27:55
沙发
您好,rpt指的就是报表对象,rpt只是一个名称,您也可以使用其他名称。
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部