LoadFromString Method |
[Top] [Chapter] [Previous] [Next] |
Declaration bool LoadFromString([In] string Data, [In] bool Insert, [In] string FormatStr); Description Load data into this editor.
Parameters Data - The text to be "loaded".
Insert - true to insert the file at the cursor position, otherwise the complete text is replaced.
FormatStr - Select the reader and set options. See FormatStrings. It is also possible to just the contents of a merge field using the syntax f:name= Tip: In many cases using LoadFromVar will be more efficient: editorToPreview.Memo.LoadFromVar( editorToBePreviewed.Memo.SaveToVar(false, "RTF"), false, "RTF"); Category |