Average example for Visual Basic

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

Lead1.Average 3
Lead1.ForceRepaint