|Top Previous Next|
Converts data from the file in foreign format to RTF data in Stream
function ImportRTF(const FileName: String;
ConverterIndex: Integer): Boolean;
FileName is a name of file to import.
ConverterIndex is an index of import converter (in ImportConverters list)
The method clears Stream and writes RTF (Rich Text Format) document in it.
You can provide a visual indication for the conversion progress using OnConverting event.
True if the import was successful, False if not.
See also properties:
TRichView © trichview.com