fpCanFilter()

Determines whether a file format is supported by KeyView.

For a list of supported formats, see Document Readers.

Syntax

KVErrorCode pascal fpCanFilter( KVDocument pDocument );

Arguments

pDocument

A KVDocument that you created with fpOpenDocumentFromFile() or fpOpenDocumentFromStream().

Returns

The return value is an error code.

  • If the file format is supported, the return value is KVError_Success.
  • If the file format is not supported, the return value is an error code that indicates the problem.