找回密码
 立即注册

QQ登录

只需一步,快速开始

liujunxi007

注册会员

7

主题

20

帖子

77

积分

注册会员

积分
77
liujunxi007
注册会员   /  发表于:2019-9-21 16:24  /   查看:2766  /  回复:1
PrintSection 对于这个方法的详解以及替换 有大佬了解的话可以留个联系方式详谈一下,本人由于刚刚学习ActiveReport  又想快点解决这个问题,多多谅解

1 个回复

倒序浏览
KearneyKang讲师达人认证 悬赏达人认证
超级版主   /  发表于:2019-9-23 09:14:15
沙发
你是想了解ACtiveReports打印属性的设置吗?然后那你的项目是C/S端的项目是吧?你可以参考这个博客:https://gcdn.grapecity.com.cn/forum.php?mod=viewthread&tid=49016&extra=page%3D4
打印的代码:
  1. string file_name = @"..\..\PageReport1.rdlx";
  2. GrapeCity.ActiveReports.PageReport pageReport = new GrapeCity.ActiveReports.PageReport(new System.IO.FileInfo(file_name));
  3. GrapeCity.ActiveReports.Document.PageDocument pageDocument = new GrapeCity.ActiveReports.Document.PageDocument(pageReport);
  4. pageDocument.Print(true, true, false);
复制代码


回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部