GammaCorrect example for Visual Basic

Note: Also works with Access 95 and 97.

This example applies a 2.2 gamma correction and repaints the image.

Dim RasterProc As New LEADRasterProcess
RasterProc.GammaCorrect LEADRasterView1.Raster, 220
LEADRasterView1.ForceRepaint