BalanceColors example for Visual Basic
Const RedFactToRed = 0.25
Const RedFactToGreen = 0.5
Const RedFactToBlue = 0.25
Const GreenFactToRed = 0.3
Const GreenFactToGreen = 0.4
Const GreenFactToBlue = 0.3
Const BlueFactToRed = 0.1
Const BlueFactToGreen = 0.6
Const BlueFactToBlue = 0.3
Dim RasterProc As New LEADRasterProcess
RasterProc.BalanceColors LEADRasterView1.Raster, RedFactToRed, RedFactToGreen, RedFactToBlue, GreenFactToRed, GreenFactToGreen, GreenFactToBlue, BlueFactToRed, BlueFactToGreen, BlueFactToBlue