|Top Previous Next|
Exports TRichView document (or the selected part, if SelectionOnly=True) to the file FileName as RTF (Rich Text Format).
function SaveRTF(const FileName: TRVUnicodeString; SelectionOnly: Boolean):Boolean;
(introduced in version 1.3; changed in version 18)
Options for saving are in RTFOptions property.
By default, inserted controls are not saved. You can save them yourself using OnSaveComponentToFile event.
▪completely change RTF code for certain items using OnSaveItemToFile event;
▪insert additional code in RTF in OnSaveRTFExtra event;
▪insert RTF codes in text.
Return value: "successful saving?"
See also methods:
See also properties:
See also events:
TRichView © trichview.com