Function TWPCustomRtfEdit.LoadSelectionFromStream(s:TStream; FormatName:string; SelectText:Boolean) : Boolean
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
-
s:TStream FormatName:string SelectText:Boolean
Returns
The type of the result value is Boolean.
Description
LoadSelectionFromStream will load a text file and overwrite the current selection. The loaded text can optionally be selected as well.To prevent than the current writing attribute will be reset to the insertion point use the option "-usewritingattr" in FormatName.