EffectGrain property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short EffectGrain

Overview:  Refer to Using Special Effects When Painting.

Remarks

(Persistent property, available at design time) Graining size. This is the smallest size (pixel width or height) to be updated when painting an effect. Using a small grain makes the painting smoother, but takes longer to paint. Using a large grain makes the painting more coarse, but paints faster. Valid values are 1 to 256.

This property affects both paint effects (specified by the PaintEffect property) and transition effects (specified by the TransitionEffect property).

Use the EffectGrain and EffectDelay properties to control the speed of the display. EffectGrain controls the size of the painting increment, and EffectDelay controls the time between increments.

See Also

Elements:  PaintEffect property, TransitionEffect property

Topics:  Raster Images: Implementing Special Effects