FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelImport.LoadFromTextStream Method (TStream, UTF16Char)

This method is similar to OpenText, but it reads the data from a stream instead of a file.

Pascal
procedure LoadFromTextStream(const DataStream: TStream; const Delimiter: UTF16Char); overload;
C++
__fastcall LoadFromTextStream(const TStream DataStream, const UTF16Char Delimiter);
Parameters 
Description 
const DataStream: TStream 
Stream with the Excel file. Make sure it is at the correct position (normally 0), since FlexCel will try to read the file from the current position. 
const Delimiter: UTF16Char 
The character used to separate fields. 
Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!