rvico TRichView Reference | TRVOfficeConverter

TRVOfficeConverter.ExportRV

Top  Previous  Next

Exports content of rv to file in foreign format.

function ExportRV(const FileName: String; rv: TCustomRichView;

  ConverterIndex: Integer): Boolean;

Parameters:

FileName is a name of file to save.

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

This method:

1.clears Stream;

2.saves RTF to Stream using rv.SaveRTFToStream;

3.performs converting;

4.clears 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