ImageEn, unit iemview

TImageEnMView.DisplayMode

TImageEnMView.DisplayMode


Declaration

property DisplayMode: TIEMDisplayMode;


Description

View Method
Frame View To display a single frame of a multi-frame image (e.g. TIFF or AVI) set DisplayMode to mdSingle
Thumbnail View To display a vertically scrollable thumbnail grid set DisplayMode to mdGrid, and GridWidth to -1
Single Row Set DisplayMode to mdGrid, and GridWidth to 0
Single Column Set DisplayMode to mdGrid, and GridWidth to 1

Note:
For style modes, like columns and thumbnails, see Style
Animation display modes are available using Animation
With mdSingle, to center the displayed frame, use ietxCenterSingleFrame


Demo

Demo  Demos\Multi\Multiview\Multiview.dpr


Example

// Design time properties...
ImageEnMView1.ThumbnailOptionsEx := ImageEnMView1.ThumbnailOptionsEx + [ietxCenterSingleFrame];
ImageEnMView1.ShowText := False;
ImageEnMView1.DisplayMode := mdSingle;
ImageEnMView1.TransitionEffect := iettCrossDissolve;
ImageEnMView1.TransitionDuration := 1500;

// Display next frame using cross dissolve effect
ImageEnMView1.Seek( ieioSeekNext );