<< Click to display table of contents >> TCustomRichView.LoadTextFromStream, LoadTextFromStreamW |
Append the content of the stream Stream to the document. LoadTextFromStream reads ANSI text, LoadTextFromStreamW reads Unicode (UTF-16) text.
function LoadTextFromStream(Stream: TStream; StyleNo, ParaNo: Integer;
AsSingleParagraph: Boolean; CodePage: Cardinal=CP_ACP):Boolean;
function LoadTextFromStreamW(Stream: TStream; StyleNo, ParaNo: Integer;
DefAsSingleParagraph: Boolean):Boolean;
The same as LoadText and LoadTextW, but read text from streams instead of files.