GrapeCity.ActiveReports.Export.Xml.v9 アセンブリ > GrapeCity.ActiveReports.Export.Xml.Section 名前空間 > TextExport クラス : Encoding プロパティ |
private void btnExport_Click(object sender, System.EventArgs e) { rptGrapeCity rpt = New rptGrapeCity(); GrapeCity.ActiveReports.Export.Xml.Section.TextExport t = new GrapeCity.ActiveReports.Export.Xml.Section.TextExport(); System.IO.MemoryStream s = New System.IO.MemoryStream(); rpt.Run(); this.arv.Document = rpt.Document; t.Encoding = System.Text.Encoding.Default; t.PageDelimiter = "\n" + "End of Page" + "\n" + "\n"; t.SuppressEmptyLines = false; t.TextDelimiter = " "; t.Export(rpt.Document, s,"1-2"); s.Position = 0; this.rtbWinForm.LoadFile(s, RichTextBoxStreamType.PlainText); }
Private void btnExport_Click(object sender, System.EventArgs e) { rptGrapeCity rpt = New rptGrapeCity(); GrapeCity.ActiveReports.Export.Xml.Section.TextExport t = new GrapeCity.ActiveReports.Export.Xml.Section.TextExport(); System.IO.MemoryStream s = New System.IO.MemoryStream(); rpt.Run(); this.arv.Document = rpt.Document; t.Encoding = System.Text.Encoding.Default; t.PageDelimiter = "\n" + "End of Page" + "\n" + "\n"; t.SuppressEmptyLines = false; t.TextDelimiter = " "; t.Export(rpt.Document, s,"1-2"); s.Position = 0; this.rtbWinForm.LoadFile(s, RichTextBoxStreamType.PlainText); }