ColorLevel Example for Visual Basic
Dim RasterProc As New LEADRasterProcess
RasterProc.MasterMinInput = 0
RasterProc.MasterMaxInput = 255
RasterProc.MasterMinOutput = 255
RasterProc.MasterMaxOutput = 0
RasterProc.MasterGamma = DEFAULT_GAMMA
RasterProc.RedMinInput = 120
RasterProc.RedMaxInput = 20
RasterProc.RedMinOutput = 255
RasterProc.RedMaxOutput = 255
RasterProc.RedGamma = DEFAULT_GAMMA
RasterProc.GreenMinInput = 0
RasterProc.GreenMaxInput = 100
RasterProc.GreenMinOutput = 200
RasterProc.GreenMaxOutput = 0
RasterProc.GreenGamma = DEFAULT_GAMMA
RasterProc.BlueMinInput = 20
RasterProc.BlueMaxInput = 200
RasterProc.BlueMinOutput = 0
RasterProc.BlueMaxOutput = 255
RasterProc.BlueGamma = DEFAULT_GAMMA
RasterProc.ColorLevel LEADRasterView1.Raster, LEVEL_BLUE Or LEVEL_MASTER