rvico TRichView Reference | TRVOfficeConverter

TRVOfficeConverter.ImportRTF

Top  Previous  Next

Converts data from the file in foreign format to RTF data in Stream

function ImportRTF(const FileName: String;

  ConverterIndex: Integer): Boolean;

Parameters:

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.

Return value:

True if the import was successful, False if not.

See also:

ExportRTF;

ImportRV.

See also properties:

ErrorCode.


TRichView © trichview.com