SpatialFilter example for Visual Basic

Note: Also works with Access 95 and 97.

This example applies Laplacian line detection and redisplays the image.

Dim RasterProc As New LEADRasterProcess
RasterProc.SpatialFilter LEADRasterView1.Raster, FLT_LAPLACE_1
LEADRasterView1.ForceRepaint