ThumbnailHeight property (Thumbnail Browser Control)

C++ Builder example

Delphi example

 

Builder Syntax

int ThumbnailHeight

Delphi Syntax

ThumbnailHeight : Integer

Overview

Refer to Thumbnail Browser.

Remarks

(published property, available at design time) Specifies the requested height of the generated thumbnails.

If 0 is specified for either the ThumbnailHeight property or the ThumbnailWidth property, the image will not be resized. The whole image will be returned in the ThumbnailEvent event.

If –1 is specified for either the ThumbnailHeight property or the ThumbnailWidth property, the image will not be loaded at all. The ThumbnailEvent event will occur for each file, but will only receive file information, not a valid image.

Default setting is 80.

See Also

Elements:

BrowseDir method, ThumbnailWidth property, ThumbnailBitsPerPixel property, MaintainAspect property, ForceSize property, ThumbnailBackgroundColor property, Resample property

Topics:

Raster Images: Displaying Images