WPTools Manual



Search


(press enter to search)

Function TWPCustomRtfEdit.LoadFromString(X:WideString; FormatString:string; WithClear:Boolean) : Boolean

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • X:WideString
  • FormatString:string
  • WithClear:Boolean

Returns

The type of the result value is Boolean.

Description

Load the text from a wide string. Insert at current position. This is slower than using InputString and InputText.
To prevent than the current writing attribute will be reset to the insertion point use the option "-usewritingattr" in FormatName.

Overloaded Methods

Function TWPCustomRtfEdit.LoadFromString(X:AnsiString; FormatString:string; WithClear:Boolean) : Boolean