LightControl Example for Visual Basic

Dim RasterProc As New LEADRasterProcess

   RasterProc.LightLowerAvr(0) = 100
   RasterProc.LightLowerAvr(1) = 120
   RasterProc.LightLowerAvr(2) = 80

   RasterProc.LightAvr(0) = 150
   RasterProc.LightAvr(1) = 140
   RasterProc.LightAvr(2) = 128

   RasterProc.LightUpperAvr(0) = 190
   RasterProc.LightUpperAvr(1) = 200
   RasterProc.LightUpperAvr(2) = 228

   RasterProc.LightControl LEADRasterView1.Raster, RGB_SPACE