JVCL Help:TJvTextConversion.CanHandle@string@TJvConversionKind

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 or export files.


Pascal

 functionCanHandle(constAExtension: string; constAKind: TJvConversionKind): Boolean; override;


Parameters

Parameters Description
const AExtension: string The extension of the file to import or export. The extension must be in lowercase.
const AKind: TJvConversionKind Indicates whether to import or export.


Return Value

Returns true if the converter can handle this extension, false otherwise.


Description

Call CanHandle to determine whether the converter can import or export files or streams, or whether the converter can import or export files with an extension as specified by AExtension. TJvRichEdit will call CanHandle to determine whether the converter can either import or export files and streams, and whether it can import or export files with a particular extension. As implemented in TJvConversion, CanHandle always returns true. Override this method in a descendant class to indicate that the converter can only operate on files with a particular extension.


See Also

TJvConversion.IsFormatCorrect


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