ImageEn, unit iexRichEdit |
|
TIERichEdit.InsertObjectFromFile
Declaration
procedure InsertObjectFromFile(const FileName: string; Iconic: Boolean = False);
Description
Insert an embedded OLE object from the contents of a file.
Iconic specifies whether the object is shown as an icon (true) or inplace (false).
Note: Method will fail if
AllowObjects = False
// Insert an Excel OLE object
IERichEdit1.InsertObjectFromFile( 'D:\ssheet.xlsx' );