Click or drag to resize

StiTxtExportServiceExportTxt Method (StiReport, Stream, Encoding, Boolean, StiTxtBorderType, Boolean, Boolean, Boolean, Boolean, Single, Single, StiPagesRange)

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
)

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.
See Also