Function TWPCustomRtfEdit.SaveToString(FormatName:string; OnlySelection:Boolean) : WideString

Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit

Parameters

  • FormatName:string
  • OnlySelection:Boolean

Returns

The type of the result value is WideString.

Description

Save the text and return as a wide string. Also see the more effective AsANSIString.