rvico TRichView Reference | TRichView

TCustomRichView.LoadTextFromStream, LoadTextFromStreamW

Top  Previous  Next

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.


TRichView © trichview.com