StiTxtExportServiceExportTxt Method (StiReport, Stream, Encoding, Boolean, StiTxtBorderType, Boolean, Boolean, Boolean, Boolean, Single, Single, StiPagesRange, Boolean, String) |
Exports a rendered report to the stream in the text file.
Namespace:
Stimulsoft.Report.Export
Assembly:
Stimulsoft.Report (in Stimulsoft.Report.dll) Version: 2019.3.1.0
Syntax public void ExportTxt(
StiReport report,
Stream stream,
Encoding encoding,
bool drawBorder,
StiTxtBorderType borderType,
bool killSpaceLines,
bool killSpaceGraphLines,
bool putFeedPageCode,
bool cutLongLines,
float zoomX,
float zoomY,
StiPagesRange pageRange,
bool useEscapeCodes,
string escapeCodesCollectionName
)
Public Sub ExportTxt (
report As StiReport,
stream As Stream,
encoding As Encoding,
drawBorder As Boolean,
borderType As StiTxtBorderType,
killSpaceLines As Boolean,
killSpaceGraphLines As Boolean,
putFeedPageCode As Boolean,
cutLongLines As Boolean,
zoomX As Single,
zoomY As Single,
pageRange As StiPagesRange,
useEscapeCodes As Boolean,
escapeCodesCollectionName As String
)
Parameters
- report
- Type: Stimulsoft.ReportStiReport
A report which is to be exported. - stream
- Type: System.IOStream
Stream for exporting. - encoding
- Type: System.TextEncoding
A code page of a text. - drawBorder
- Type: SystemBoolean
If true then borders are exported to text. - borderType
- Type: Stimulsoft.Report.ExportStiTxtBorderType
Type of borders. - killSpaceLines
- Type: SystemBoolean
If true then empty lines will be removed from the result text. - killSpaceGraphLines
- Type: SystemBoolean
If true then empty lines with vertical borders will be removed from the result text. - putFeedPageCode
- Type: SystemBoolean
If true then EOF char will be added to the end of each page. - cutLongLines
- Type: SystemBoolean
If true then all long lines will be cut. - zoomX
- Type: SystemSingle
Horizontal zoom factor by X axis. By default a value is 1.0f what is equal 100% in export settings window. - zoomY
- Type: SystemSingle
Vertical zoom factor by Y axis. By default a value is 1.0f what is equal 100% in export settings window. - pageRange
- Type: Stimulsoft.ReportStiPagesRange
A Range of the page for exporting. - useEscapeCodes
- Type: SystemBoolean
Use Escape codes in text. - escapeCodesCollectionName
- Type: SystemString
Name of the Escape codes collection to use.
See Also