|
TCustomRichView.SaveRTFToStream |
Top Previous Next |
|
Exports TRichView document (or the selected part, if SelectionOnly=True) to the Stream as RTF (Rich Text Format) function SaveRTFToStream(Stream: TStream; SelectionOnly: Boolean):Boolean; Options for saving are in RTFOptions property. By default, inserted controls and hypertext links are not saved. You can save them yourself using OnSaveComponentToFile and OnWriteHyperlink events. You can: ▪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: ▪SaveRTF; ▪CopyRTF; See also properties: See also events: See also: |