ImageEn, unit iemview

TImageEnMView.ThumbHeight

TImageEnMView.ThumbHeight


Declaration

property ThumbHeight: integer;


Description

Specifies the height of the thumbnails displayed in the TImageEnView.
If ThumbHeight = -1, it will be set to 3/4 of ThumbWidth.

Note: This is the height of the thumbnail frame (when the Style is iemsFlat). The thumbnail image itself will be ThumbHeight less UpperGap and BottomGap. See ThumbSizeInfo for actual display size. Use SetThumbnailSize to set the display size of the image itself.

TImageEnMView Default: 100;
TImageEnFolderMView Default: 130
TImageEnLayerMView Default: 120





Demos

Demo  Demos\Multi\Multiview2\Multiview2.dpr


Example

// Make thumbnails 120 x 100;
ImageEnMView1.ThumbWidth  := 120;
ImageEnMView1.ThumbHeight := 100;

// Fit thumbnails to width of the control
ImageEnMView1.ThumbWidth  := -1;
ImageEnMView1.ThumbHeight := -1;


See Also

 ThumbWidth
 SetThumbnailSize
 ThumbSizeInfo