ImageEn, unit iexRichEdit

TIERichEdit.ExportToWord

TIERichEdit.ExportToWord


Declaration

function TIERichEdit.ExportToWord(const Filename: string): Boolean;


Description

Exports the content to a .DOCX or .PDF file using Microsoft Word.
Result is true if the export succeeds.

Note: Microsoft Word must be installed to use ExportToWord. You can call CanImportExport to test whether a Word installation is available.


Example

// Export to PDF
IERichEdit1.ExportToWord( 'D:\MyDoc.pdf' );