[]
        
(Showing Draft Content)

FarPoint.Web.Spread.SheetView.SaveTextFile

SaveTextFile Method

SaveTextFile(string, bool)

Saves the sheet to a text file with the specified name.

Declaration
public bool SaveTextFile(string fileName, bool unformatted)
Public Function SaveTextFile(fileName As String, unformatted As Boolean) As Boolean
Parameters
Type Name Description
string fileName

Path and name of the file to which to save the sheet

bool unformatted

Whether to save the data unformatted

Returns
Type Description
bool

true if successful, false otherwise

SaveTextFile(Stream, bool)

Saves the sheet as delimited text to a stream as specified.

Declaration
public bool SaveTextFile(Stream stream, bool unformatted)
Public Function SaveTextFile(stream As Stream, unformatted As Boolean) As Boolean
Parameters
Type Name Description
Stream stream

Stream to which to save the sheet

bool unformatted

Whether to save the data unformatted

Returns
Type Description
bool

SaveTextFile(string, bool, IncludeHeaders, string, string, string)

Saves the sheet (and optionally headers) to a text file with the specified name and delimiters.

Declaration
public bool SaveTextFile(string fileName, bool unformatted, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFile(fileName As String, unformatted As Boolean, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
string fileName

Path and name of the file to which to save the sheet

bool unformatted

Whether to save the data unformatted

IncludeHeaders includeHeaders

Which header cells from which to save data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool

SaveTextFile(string, bool, IncludeHeaders, bool, string, string, string)

Saves the sheet (and optionally headers and footer) to a text file with the specified name and delimiters.

Declaration
public bool SaveTextFile(string fileName, bool unformatted, IncludeHeaders includeHeaders, bool includeFooter, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFile(fileName As String, unformatted As Boolean, includeHeaders As IncludeHeaders, includeFooter As Boolean, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
string fileName

Path and name of the file to which to save the sheet

bool unformatted

Whether to save the data unformatted

IncludeHeaders includeHeaders

Which header cells from which to save data

bool includeFooter

Whether to save the data in the footer cells

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool

SaveTextFile(Stream, bool, IncludeHeaders, string, string, string)

Saves the range of cells (and may include headers) as delimited text to a stream as specified.

Declaration
public bool SaveTextFile(Stream stream, bool unformatted, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFile(stream As Stream, unformatted As Boolean, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
Stream stream

Stream to which to save the sheet

bool unformatted

Whether to save the data unformatted

IncludeHeaders includeHeaders

Which header cells from which to save data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool

SaveTextFile(Stream, bool, IncludeHeaders, bool, string, string, string)

Saves the range of cells (and may include headers and footer) as delimited text to a stream as specified.

Declaration
public bool SaveTextFile(Stream stream, bool unformatted, IncludeHeaders includeHeaders, bool includeFooter, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFile(stream As Stream, unformatted As Boolean, includeHeaders As IncludeHeaders, includeFooter As Boolean, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
Stream stream

Stream to which to save the sheet

bool unformatted

Whether to save the data unformatted

IncludeHeaders includeHeaders

Which header cells from which to save data

bool includeFooter

Whether to save the data in the footer cells

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool