ImageEn, unit iemview

TImageEnMView.TransitionEffect

TImageEnMView.TransitionEffect


Declaration

property TransitionEffect: TIETransitionType;


Description

Specifies the effect to apply when the application changes the currently displayed frame.
If iettNone is specified then a transition effect is not used.

Note: DisplayMode must be mdSingle. To change current frame, use the VisibleFrame property.

Default: iettNone


iettCubeRotateFromLeft2




iettShreddedFromLeft




iettRandomBoxesWithWord




Example 1

// 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 );


Example 2

// Set properties for Word transition
ImageEnMView1.TransitionParams.WordTransWord      := 'BLAM';
ImageEnMView1.TransitionParams.WordTransFontName  := 'Arial';
ImageEnMView1.TransitionParams.WordTransFontStyle := [fsBold];

// Prepare ImageEnMView1 for a transition
ImageEnMView1.ShowText := False;
ImageEnMView1.DisplayMode := mdSingle;
ImageEnMView1.TransitionEffect := iettRandomBoxesWithWord;
ImageEnMView1.TransitionDuration := 1000;
ImageEnMView1.Seek( ieioSeekNext );




See Also

TransitionDuration
TransitionParams