ImageEn, unit iemview




function ThumbSizeInfo(Data: TIEThumbSizeType): TPoint;


Returns internal information about the current displayed size of thumbnail cells in the TImageEnView.

Data can be one of:
Value Description
itsImage Returns the size of the thumbnail image as displayed
itsCell Returns the size of the thumbnail cell (image, text and cell border)
itsOuter Returns the size of the thumbnail cell and its external spacing (image, text, cell border and horizontal/vertical border)

It takes into account:
- ThumbWidth and ThumbHeight
- Zoom
- LeftGap, RightGap, UpperGap and BottomGap
- HorizBorder and VertBorder


// Calculate the amount of white space on right of thumbnails (assumes ietxCenterThumbnailColumn is not used)
rightSpace := ImageEnMView.ClientWidth - ImageEnMView.ThumbSizeInfo( itsCell ).X * ImageEnMView.CalcGridWidth();