Function TWPCustomRtfEdit.LoadFromFile(FileName:string; WithClear:Boolean; FormatName:string) : Boolean
Unit: WPCTRMemo
Class: WPCTRMemo.TWPCustomRtfEdit
Parameters
-
FileName:string WithClear:Boolean FormatName:string
Returns
The type of the result value is Boolean.
Description
Loads the contents from a file. Only if WithClear=TRUE or the text is empty (see:Since V6.21 ist is possible to only load the contents of a certain field or other object pair. To do so specify the name in the format string, i.e. "f:name=RTF" to save or load the contents of the field "name". (WithClear mut be false of course) Also see