Average example for Visual Basic

Note: Also works with Access 95 and 97.

This example applies an average filter with a 3x3 neighborhood and redisplays the bitmap.

Lead1.Average 3
Lead1.ForceRepaint