类ReportBook
表示逻辑上统一为单个文档的报表集合。
继承
系统。对象
ReportBook
名称空间:Telerik。报告ing
组装: Telerik.Reporting.dll
语法
公共类ReportBook: Component, IReportDocument, IComponent, IDisposable
构造函数
ReportBook ()
ReportBook (IEnumerable <报告>)
类的新实例初始化ReportBook从提供的报告中初始化。
宣言
[过时("请使用默认构造函数并将报告添加到ReportSource集合中。")]public ReportBook(IEnumerable reports)
参数
System.Collections.Generic.IEnumerable<报告>报告 |
ReportBook (IEnumerable <报告>,字符串)
类的新实例初始化ReportBook从提供的报告和文档名称中初始化。
宣言
[过时("请使用默认构造函数,将报告添加到ReportSource集合并设置文档名称。")]public ReportBook(IEnumerable reports, string documentName)
参数
System.Collections.Generic.IEnumerable<报告>报告 |
系统。字符串documentName |
属性
DocumentName
获取或设置系统。字符串表示文档的名称。
宣言
公开字符串DocumentName{获取;设置;}
属性值
系统。字符串 一个系统。字符串表示文档名称。的类型名称ReportBook这个财产属于。 |
实现了
讲话
当导出到一种可用的导出格式时,此属性的值用于建议文件名。
一个系统。字符串以“=”开头的表达式被解释为计算文档名称的表达式;否则,它将被解释为文字字符串。
报告
获取该报告书中各部分的报告的集合。
宣言
[过时(“请使用ReportSources属性代替。”)]public ReportCollection报告{get;}
属性值
ReportCollection |
ReportSources
TocPosition
获取或设置ReportBookTocPosition参阅成绩单的目录。
宣言
公共ReportBookTocPosition TocPosition{获取;设置;}
属性值
ReportBookTocPosition |
TocReportSource
运营商
隐式(从报告书到报告源)
宣言
("从Telerik.Reporting.ReportBook到Telerik.Reporting.ReportSource的隐式转换现在已经过时。请使用Telerik.Reporting.InstanceReportSource对象。更多信息请访问://www.aliitrade.com/support/kb/reporting/general/q2-2012-api-changes-reportsources.aspx#reportprocessor.)]公共静态隐式运算符ReportSource(ReportBook)
参数
ReportBookreportBook |
返回
ReportSource |
显式接口实现
IReportDocument。PageSettings
仅供内部使用。
宣言
(“请用报告代替。PageSettingsproperty.")] PageSettings IReportDocument.PageSettings { get; set; }
返回
PageSettings |
实现了
IReportDocument。ReportParameters
得到了ReportParameterSReportBook.参数是通过合并将其Mergeable属性设置为true的各个报表的参数以及添加所有不可合并参数来获得的。
宣言
[过时("请使用ReportSource代替。参数of each individual ReportSource or wrap the report book into ReportSource and use its parametrs collection.")] IEnumerable IReportDocument.ReportParameters { get; }
返回
System.Collections.Generic.IEnumerable<IReportParameter> |
实现了
IReportDocument。报告
获取报告书中包含的报告。
宣言
[过时("请使用ReportSources属性代替。")]IEnumerable IReportDocument.]报告{get;}
返回
System.Collections.Generic.IEnumerable<报告> |
实现了
IReportDocument。ReportSources
宣言
IEnumerable < ReportSource > IReportDocument。报告来源{获取;}
返回
System.Collections.Generic.IEnumerable<ReportSource> |