This property sets how images are loaded and displayed in the Thumbnail Control.

[C++Builder]   thumbcontrolname->ReadMode [ = TVIkThumbnailReadMode ]
[Delphi]   thumbcontrolname.ReadMode [ = TVIkThumbnailReadMode ]

[TVIkThumbnailReadMode Type]

Unit
     IkThumb

type
     TVIkThumbnailReadMode = (vikThumbRd, vikThumbRdDsp, vikThumbRdMultiImg, vikThumbRdDspMultiImg, vikThumbRdImage);

Property Value

Value Explanation
vikThumbRd Load
vikThumbRdDsp Load and display
vikThumbRdMultiImg Load (for multi-page image files)
vikThumbRdDspMultiImg Load and display (for multi-page image files)
vikThumbRdImage Load image handles

Explanation

The ReadMode property sets how images are loaded and displayed in the Thumbnail Control. When the ReadMode property is set to vikThumbRd or vikThumbRdMultiImg, the GetFiles method loads the appropriate file from the folder set in the FilePath property or the ListOfFileNames property into the memory. The Display method displays the file on the control.

When the ReadMode property is set to vikThumbRdDsp or vikThumbRdDspMultiImg, by executing the Display method, the appropriate files from folders set in the FilePath property or the ListOfFileNames property are displayed on the control while they are being loaded.

* Multi-image is only for GIF and TIFF.

When the ReadMode property is set to vikThumbRdImage, by executing the Display method, the image set in the ImageHandle property is displayed on the control. In order to display multiple images at once, please set the ClearOnLoad property to False and set each memory handle to the ImageHandle 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.

Differences from ImageKit7/8/9/10 ActiveX

The VCL constants have a "v". In ActiveX, the constants are ikThumbRd, ikThumbRdDsp, ikThumbRdMultiImg, ikThumbRdDspMultiImg, ikThumbRdImage.

 

The ImageKit10 VCL is a product created by Newtone Corporation