ImageEn, unit iexRichEdit |
|
TIERichEdit.ImportFromWord
Declaration
function ImportFromWord(const Filename: string): Boolean;
Description
Imports a file type supported by Microsoft Word into the control.
Result is true if the import succeeds.
Typical supported formats are .DOCX and .DOC
Note: Microsoft Word must be installed to use ImportFromWord. You can call
CanImportExport to test whether a Word installation is available.
// Import a Word document
IERichEdit1.ImportFromWord( 'D:\MyDoc.docx' );