rvico TRichView Reference | TRVOfficeConverter

TRVOfficeConverter.IsValidImporter

Top  Previous  Next

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

function IsValidImporter(const FileName: String; Index: Integer): Boolean;

(introduced in version 12)

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.


TRichView © trichview.com