Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/81.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
逐页将DevExpress XtraReport导出为文本_Devexpress_Xtrareport - Fatal编程技术网

逐页将DevExpress XtraReport导出为文本

逐页将DevExpress XtraReport导出为文本,devexpress,xtrareport,Devexpress,Xtrareport,我希望能够将XtraReport的第一页导出为文本。我可以看到如何在使用exportoptions导出为HTML(或各种其他格式)时执行此操作。但是,当导出到文本时,我看不到任何方法可以做到这一点 有什么想法吗?从DevExpress回答: 感谢您联系我们。要完成此任务,可以使用 页面合并技术。有关更多信息,请参阅本文。请参阅下面的代码: [VB.NET] Dim report As New XtraReport1() report.CreateDocument() Dim ps As New

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


有什么想法吗?

从DevExpress回答:

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

[VB.NET]

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

Dim ps As New PrintingSystem()
ps.Pages.Add(report.Pages(0))
ps.ExportToText(file)
它工作得很好