BitmapDisposalMethod property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int BitmapDisposalMethod

Delphi Syntax

BitmapDisposalMethod: Integer

Overview

Refer to Playing an Animation.

Remarks

Sets or gets the animation playback disposal method.

The disposal method can be different for each bitmap in a list (but it is usually the same). The following are constants for the disposal methods used after rendering an image in an animation playback:

Value

Meaning

PLAYDISPOSE_NONE

Do nothing.

PLAYDISPOSE_LEAVE

Leave the target bitmap as is.

PLAYDISPOSE_RESTOREBACKGROUND

Restore the background.

PLAYDISPOSE_RESTOREPREVIOUS

Restore the previous image.

See Also

Elements:

BitmapDelay property, BitmapEnableTransparency property, BitmapTransparentColor property

Topics:

Raster Images: Playing Animated Images