HistoContrast example for Visual Basic

Note: Also works with Access 95 and 97.

This example applies a histogram contrast to the bitmap and repaints the image.

Dim RasterProc As New LEADRasterProcess
RasterProc.HistoContrast LEADRasterView1.Raster, 300
LEADRasterView1.ForceRepaint