AnimationHeight property (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

float AnimationHeight

Overview

Refer to Playing an Animation.

Remarks

Specifies the height of the target bitmap that is used for animation playback. The unit of measure is determined by the ScaleMode property.

This property applies to the temporary target bitmap that LEADTOOLS creates for animation playback.

This property is initialized when you take any of the following actions which create or replace the control's bitmap list:

image\sqrblit.gif Load an image file.

image\sqrblit.gif Capture an image from the screen.

image\sqrblit.gif Load one or more images using the TWAIN device.

image\sqrblit.gif Copy another control's bitmap list by assigning the BitmapList property.

If you resize the loaded bitmaps, this property is not updated, and you may need to update this property before playing the list as an animation.

When you load an animated GIF file, the initial value is based on the global height specified in the file. Otherwise, the default is the same as the first bitmap in the list.

When you save an animated GIF file, this value is saved as a global value in the file.

See Also

Elements:

AnimationBackColor property, AnimationBitsPerPixel property, AnimationPalette property, AnimationWidth property

Topics:

Raster Images: Saving Files

 

Raster Images: Getting and Setting File Information

 

Raster Images: Playing Animated Images