|
TCustomRichViewEdit.InsertRTFFromFileEd |
Top Previous Next |
|
Inserts RTF (Rich Text Format) from file FileName in the position of caret. function InsertRTFFromFileEd(const FileName: String): Boolean; (Introduced in version 1.5) Parameters for loading are in TRichView.RTFReadProperties. The most important properties affecting RTF loading are RTFReadProperties.TextStyleMode and ParaStyleMode. The imported RTF may look absolutely different depending on values of these properties! Setting for RTF loading can be changed in the TRichView component editor. Method type:
Return value: "successful reading?" (extended information is in TRichView.RTFReadProperties.ErrorCode)
See also methods of TRichViewEdit: ▪PasteRTF. See also methods of TRichView: ▪LoadRTF. See also events of TRichView: See also: |