ImageEn, unit iexRichEdit

TIERichEdit.InsertLinkToFile

TIERichEdit.InsertLinkToFile


Declaration

procedure InsertLinkToFile(const FileName: string; Iconic: Boolean = False);


Description

Insert a linked OLE object from the file specified by the FileName parameter.

Note: Method will fail if AllowObjects = False

Also see: InsertLink


Example

// Insert a link to an Excel file
IERichEdit1.InsertLinkToFile( 'D:\ssheet.xlsx' );