TRVOfficeConverter.IsValidImporter

<< Click to display table of contents >>

TRVOfficeConverter.IsValidImporter

Checks if the specified file can be imported with the specified converter.

function IsValidImporter(const FileName: TRVUnicodeString;

  Index: Integer): Boolean;

(introduced in version 12; changed in version 18)

Parameters:

FileName is a name of file to test.

Index is an index of import converter (in ImportConverters list)

Return value:

If this method returns False, this file cannot be imported by this converter. If this method returns True, this file probably can be imported by this converter.

See also properties:

ErrorCode.