ImageEn, unit iemview

TIEMStyle

TIEMStyle


Declaration


TIEMStyle = (iemsFlat, iemsACD, iemsFlatAndWide, iemsColumns, iemsFilenames);


Description


Value Description
iemsFlat Thumbnail with optional text above and below
iemsACD Same as iemsFlat but with a legacy 3D style
iemsFlatAndWide Thumbnail on the left with up to three lines of text on the right
iemsColumns Separate columns are used for thumbnails and text fields
iemsFilenames Small icon with a single line of text on the right



iemsFlat (and iemsACD)


The default view of TImageEnMView is a thumbnail with text below (and optionally above). The size of the thumbnail is specified by ThumbWidth and ThumbHeight.
Above the thumbnail, text is displayed if specified for ImageTopText. Below the thumbnail text can be specified by ImageInfoText and finally, ImageBottomText.
iemsACD is the same as iemsFlat but with a legacy 3D style.




iemsFlatAndWide


Displays a thumbnail on the left with up to three rows of text. Text is displayed in this order
- ImageTopText
- ImageInfoText
- ImageBottomText

The width of the text block is specified by TextBlockWidth, and spacing of the text by TextMargin.
This style works best with Zoom set to 50%.




iemsFilenames


In iemsFilenames mode, only one line of text is shown. The text will be the first valid text from: ImageBottomText, ImageTopText or ImageInfoText.
The width of the text block is specified by TextBlockWidth.
This style tends to work best with thumbnails zoomed to 24 pixels (i.e. ImageEnMView1.Zoom := -24;) and icons instead of thumbnails (Add ietxOnlyShowIcons to ImageEnMView1.ThumbnailOptionsEx).




iemsColumns


Displays a thumbnail on the left, with one to three text columns.
Columns will be shown for text fields which have text specified (e.g. using DefaultTopText) and a valid width. Columns are displayed in the order: DefaultTopText, DefaultBottomText, DefaultInfoText.
A header row is always displayed, which uses InfoTextFont for the font formatting. However, this can be overriden in the OnGetTextEx event. The header row caption is based on the default text, but can be overriden in OnGetText or OnGetTextEx.
This style tends to work best with thumbnails zoomed to 24 pixels (i.e. ImageEnMView1.Zoom := -24;) and icons instead of thumbnails (Add ietxOnlyShowIcons to ImageEnMView1.ThumbnailOptionsEx).