Grayscale example for Visual Basic

Note: Also works with Access 95 and 97.

This example converts the bitmap to 12-bit grayscale.

Dim RasterProc As New LEADRasterProcess
RasterProc.Grayscale LEADRasterView1.Raster, 12  'Grayscale image to 12-bit