0

我希望能够仅将 XtraReport 的第一页导出为文本。使用 exportoptions 导出到 HTML(或各种其他格式)时,我可以看到如何做到这一点。但是,在导出为文本时,我看不到任何方法。

有任何想法吗?

4

1 回答 1

2

来自 DevExpress 的回答:

感谢您与我们联系。要完成此任务,您可以使用页面合并技术。有关更多信息,请参阅如何:合并两个报告的页面一文。请看下面的代码:

[VB.NET]

Dim report As New XtraReport1()
report.CreateDocument()

Dim ps As New PrintingSystem()
ps.Pages.Add(report.Pages(0))
ps.ExportToText(file)

它工作得很好。

于 2012-02-24T21:33:11.877 回答