<< Click to display table of contents >> TCustomRichViewEdit.InsertRVFFromFileEd |
Inserts RVF (RichView Format) from the file FileName at the position of caret.
function InsertRVFFromFileEd(const FileName: TRVUnicodeString):Boolean;
(changed in version 18)
Settings for RVF loading can be changed in the TRichView component editor.
Method type: editing-style method for insertion.
If style templates are used, and RVFTextStylesReadMode=RVFParaStylesReadMode=rvf_sInsertMerge, and StyleTemplateInsertMode<>rvstimIgnoreSourceStyleTemplates, the method merges style templates from RVF into Style.StyleTemplates, and reads text and paragraph styles according to StyleTemplateInsertMode. The method calls OnStyleTemplatesChange event.
Return value: "successful insertion?"
See also methods of TRichViewEdit:
▪PasteRVF.
See also methods of TRichView:
▪LoadRVF.
▪See also properties:
▪RVFTextStylesReadMode (this method type: RVF insertion);
▪RVFParaStylesReadMode (this method type: RVF insertion);
See also events:
▪OnControlAction (ControlAction=rvcaAfterRVFLoad).
See also:
▪Inserting items at position of caret;
▪RVF.