This property sets the type of image that can be displayed in the Thumbnail Control.

[C++Builder]   thumbcontrolname->FileExt [ = UnicodeString ]
[Delphi]   thumbcontrolname.FileExt [ = string ]

Property Value

String value denoting the file extension.

Explanation

The FileExt property sets the type of image that can be displayed in the Thumbnail Control. When setting multiple image file types in the FileExt property, please separate the entries with a semicolon. Note: TheFileExt property is not case sensitive so "BMP" and "bmp" are treated as identical.

Example

   VIkThumb1.FileExt = "BMP;JPG;PNG; "

When setting the FileExt property it is also possible to specify a file name as well as a file type.

Example

   VIkThumb1.FileExt = "001.BMP;JPG;PNG; "

This will load all JPEG and PNG files and the BMP file named 001.BMP from the specifed directory.

Note that when using a wildcard, you cannot set the same file extension twice. So IkThumb1.FileExt = "*.bmp;001.bmp" will result in an error. You must enter either "*.bmp" or "001.bmp".

Example

   Correct: VIkThumb1.FileExt = "002.BMP; 001.BMP; "

   Incorrect: VIkThumb1.FileExt = "*.BMP; 001.BMP; "

Setting this value

This value can be set at design-time and run-time.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation