rvico TRichView Reference | TRVOfficeConverter

TRVOfficeConverter.ExportRTF

Top  Previous  Next

Exports RTF from Stream to file in foreign format.

function ExportRTF(const FileName: String; ConverterIndex: Integer): Boolean;

Parameters:

FileName is a name of file to save.

ConverterIndex is an index of export converter (in ExportConverters list).

When calling this method, Stream must contain RTF (Rich Text Format) document. The method start conversion from Stream.Position and stopped when reached the end of stream.

You can provide a visual indication for the conversion progress using OnConverting event.

Return value:

True if the export was successful, False if not.

See also:

ImportRTF;

ExportRV.

See also properties:

ErrorCode.


TRichView © trichview.com