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

[Visual Basic]   thumbcontrolname.FileExt [ = String ]
[Visual C++]     [ CString = ]thumbcontrolname.GetFileExt()
thumbcontrolname.SetFileExt(LPCTSTR Val)
[VB.NET]   thumbcontrolname.FileExt [ = String ]
[C#.NET]   thumbcontrolname.FileExt [ = string ]

Property Value

String value denoting the file extension.

Explanation

The FileExt property sets the the image type 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

   IkThumb1.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

   IkThumb1.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: IkThumb1.FileExt = "002.BMP; 001.BMP; "

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

If you want to display only specific files in the folder, set the file name to be displayed in the ListOfFileNames property and set an empty string in the FilePath property.

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 ActiveX is a product created by Newtone Corporation