ImageEn, unit iemview

TImageEnMView.TransitionDuration

TImageEnMView.TransitionDuration


Declaration

property TransitionDuration: Integer;


Description

Specifies the duration of the transition in milliseconds.

Default: 1000


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

TransitionEffect
TransitionParams