TImageFileFormat.TestFileName Method
TImageFileFormat Class

Resturns True if the given FileName matches filter for this file format.

Class
Pascal
public function TestFileName(const FileName: string): Boolean;
Description

For most formats it just checks filename extensions. It uses filename masks in from Masks property so it can recognize filenames like this 'umajoXXXumajo.j0j' if one of themasks is 'umajo*umajo.j?j'.

Related Information
You are here: Symbol Reference > Classes > TImageFileFormat Class > Methods > TestFileName Method