|
TCustomRichViewEdit.PasteRTF |
Top Previous Next |
|
Inserts RTF (Rich Text Format) from the Clipboard in the position of caret procedure PasteRTF; (Introduced in version 1.5) This method does nothing if the Clipboard does not contain RTF. If the Clipboard has RTF, and there was an error during reading, you can get additional information in TRichView.RTFReadProperties.ErrorCode property. 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. If the Clipboard contains HTML format as well, RichViewEdit reads base path for external images from it. Method type:
See also methods: See also: |