PaintMaxPasses property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short PaintMaxPasses

Overview:  Refer to Using Special Effects When Painting.

Remarks

(Persistent property, available at design time) Maximum passes for a pattern brush when implementing a paint effect or transition effect. Use 1 for painting in one pass. Multipass painting for the EFX_EFFECT_PUSH_CLASS is disabled.

If you specify more than one pass, a pattern brush paints some of the pixels on each pass, and the painting is complete when you finish all of the passes. The PaintNotification event, which occurs before painting and after each pass, lets you change the behavior of the effect before it finishes.

See Also

Elements:  PaintEffect property, TransitionEffect property, PaintPass property, PaintNotification event, PaintNotificationDelay property

Topics:  Raster Images: Implementing Special Effects