PaintNotification event (ILEADRasterView)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

void PaintNotification (short uPass, short uType);

Overview

Refer to Using Special Effects When Painting.

Remarks

Occurs before painting and after each pass when implementing a paint effect or transition effect.

This event lets you change the behavior of the effect before it finishes. The uType parameter lets you know whether a transition or an image is being painted. The uPass parameter works as follows:

Value

Meaning

0

No passes have painted. The first pass is next.

1

One pass has painted. The second pass is next.

2

The second pass has painted. The third pass is next.

And so forth....

The PaintEffectMaxPasses property specifies the number of passes to complete the image or transition. You can set the PaintEffectPass property in this event if you want to skip or repeat a pass (for example, if you want to end with a blend of old and new images).

The PaintTransitionMaxPasses property specifies the number of passes to complete the transition. You can set the PaintTransitionPass property in this event if you want to skip or repeat a pass (for example, if you want to end with a blend of old and new images).

See Also

Elements:

PaintEffect property, TransitionEffect property, PaintEffectPass property, PaintEffectMaxPasses property ,PaintNotificationDelay property, PaintTransitionMaxPasses property, PaintTransitionPass property

Topics:

Raster Images: Implementing Special Effects