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.

Dim RasterProc As New LEADRasterProcess
RasterProc.Average LEADRasterView1.Raster, 3
LEADRasterView1.ForceRepaint