|
TCustomRichView.LoadFromStream |
Top Previous Next |
|
Loads document from Stream, autodetecting its format (RVF/RTF/text) type TRVYesNoAuto = ( rvynaNo, rvynaYes, rvynaAuto ); function LoadFromStream(Stream: TStream; IsTextUnicode: TRVYesNoAuto): Boolean; (introduced in version 10) IsTextUnicode specifies whether the text is Unicode: ▪rvynaNo – reading text as ANSI; ▪rvynaYes – reading text as Unicode; ▪rvynaAuto – autodetecting ANSI/Unicode (wrong detection is very possible). Method type: Return value: "Was reading successful?"
See also methods of TRichView: |