FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
SaveRangeAsTextDelim Function

Saves a range of cells in a text delimited file.

Pascal
procedure SaveRangeAsTextDelim(const OutStream: TStream; const Workbook: TExcelFile; const Delim: UTF16Char; const Range: TXlsCellRange); overload;
C++
SaveRangeAsTextDelim(const TStream OutStream, const TExcelFile Workbook, const UTF16Char Delim, const TXlsCellRange Range);
Parameters 
Description 
const OutStream: TStream 
Stream where we are going to save the file. 
const Workbook: TExcelFile 
Workbook we want to save. 
const Delim: UTF16Char 
Delimiter used in the file ("," or ";" for csv, #9 for tab delimited) 
const Range: TXlsCellRange 
Encoding for the generated file. 

To save the full sheet use SaveAsTextDelim or TFlexCelImport.SaveAsText.

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!