CrossTablePlotExportText Method TIBCO Spotfire 7.6 API Reference
Exports the content of the cross table as tab separated text.

Namespace: Spotfire.Dxp.Application.Visuals
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 25.11.10401.3615 (25.11.10401.3615)
Syntax

C#
public void ExportText(
	TextWriter writer
)

Parameters

writer
Type: System.IOTextWriter
The text writer.
Remarks

Each cell value is formatted as displayed on screen, and the cells values are tab separated. Each row is terminated by a carriage return, line feed sequence (\r\n).

Cell text that contain quotes, tabs or newlines are escaped. An escaped text value is surrounded by quotes and each quote inside the text is duplicated. Any carriage return (\r) or carriage return, line feed sequence (\r\n) inside the text is replaced with a line feed (\n).

For example, 22" would become "22""" and Hello\r\nWorld. would become "Hello\nWorld."

Examples

Saving the content of a cross table to a text file.
using (StreamWriter writer = new StreamWriter("C:\\data.txt"))
{
    crossTable.ExportText(writer);
}
Version Information

Supported in: 7.6, 7.5, 7.0, 6.5, 6.0, 5.5, 5.0
See Also

Reference