JVCL Help:TJvMSTextConversion.IsFormatCorrect@string

From Project JEDI Wiki
Jump to navigationJump to search
JEDI Visual Component Library Help

Search in JVCL Help

 
Search in all projects
 

Summary

Returns whether the converter can import a specific file or stream.


Pascal

 functionIsFormatCorrect(constAFileName: string): Boolean; override;


Parameters

Parameters Description
const AFileName: string The file to import.
AStream The stream to import.


Return Value

Returns true if the converter can import the specified file or stream, false otherwise.


Description

Call IsFormatCorrect to determine whether the converter can import the file specified by AFileName or the stream specified by AStream. TJvRichEdit will call IsFormatCorrect to determine whether the converter recognizes and can convert the contents of a file or stream. As implemented in TJvConversion, IsFormatCorrect always returns true. Override this method in a descendant class to check files or streams before the actual import operation.


See Also

TJvConversion.CanHandle


About

Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page