[]
        
(Showing Draft Content)

FarPoint.Win.Spread.SheetView.SaveTextFileRange

SaveTextFileRange Method

SaveTextFileRange(int, int, int, int, string, TextFileFlags, IncludeHeaders, string, string, string)

Saves the range of cells in a sheet to a text file
with the specified name, formatting settings, and delimiters.

Declaration
public bool SaveTextFileRange(int row, int column, int rowCount, int columnCount, string fileName, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFileRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, fileName As String, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

string fileName

Path and name of file to which to save the text of the range

TextFileFlags textFileFlags

Specifies how to process the data when saving to a text file

IncludeHeaders includeHeaders

Whether to export headers as data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool

SaveTextFileRange(int, int, int, int, string, TextFileFlags, IncludeHeaders, string, string, string, Encoding)

Saves the range of cells in a sheet to a text file
with the specified name, formatting settings, and delimiters.

Declaration
public bool SaveTextFileRange(int row, int column, int rowCount, int columnCount, string fileName, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Function SaveTextFileRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, fileName As String, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, encoding As Encoding) As Boolean
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

string fileName

Path and name of file to which to save the text of the range

TextFileFlags textFileFlags

Specifies how to process the data when saving to a text file

IncludeHeaders includeHeaders

Whether to export headers as data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Encoding encoding

Encoding

Returns
Type Description
bool

SaveTextFileRange(int, int, int, int, Stream, TextFileFlags, IncludeHeaders, string, string, string)

Saves the range of cells in a sheet to a text file
with the specified name, formatting settings, and delimiters.

Declaration
public bool SaveTextFileRange(int row, int column, int rowCount, int columnCount, Stream stream, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter)
Public Function SaveTextFileRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, stream As Stream, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String) As Boolean
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

Stream stream

Stream to which to save the text of the sheet

TextFileFlags textFileFlags

Specifies how to process the data when saving to a text file

IncludeHeaders includeHeaders

Whether to export headers as data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Returns
Type Description
bool

SaveTextFileRange(int, int, int, int, Stream, TextFileFlags, IncludeHeaders, string, string, string, Encoding)

Saves the range of cells in a sheet to a text file
with the specified name, formatting settings, and delimiters.

Declaration
public bool SaveTextFileRange(int row, int column, int rowCount, int columnCount, Stream stream, TextFileFlags textFileFlags, IncludeHeaders includeHeaders, string rowDelimiter, string columnDelimiter, string cellDelimiter, Encoding encoding)
Public Function SaveTextFileRange(row As Integer, column As Integer, rowCount As Integer, columnCount As Integer, stream As Stream, textFileFlags As TextFileFlags, includeHeaders As IncludeHeaders, rowDelimiter As String, columnDelimiter As String, cellDelimiter As String, encoding As Encoding) As Boolean
Parameters
Type Name Description
int row

Starting row index

int column

Starting column index

int rowCount

Number of rows

int columnCount

Number of columns

Stream stream

Stream to which to save the text of the sheet

TextFileFlags textFileFlags

Specifies how to process the data when saving to a text file

IncludeHeaders includeHeaders

Whether to export headers as data

string rowDelimiter

Row delimiter string

string columnDelimiter

Column delimiter string

string cellDelimiter

Cell delimiter string

Encoding encoding

Encoding

Returns
Type Description
bool